Skip to content

Commit 37a6a25

Browse files
committed
fixup! chore(workspace-plugin): identify legacy and flat configs and apply appropriate eslint cmd
1 parent 8a4d6d0 commit 37a6a25

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

nx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"inputs": ["default", "{projectRoot}/cypress.config.ts", "!{projectRoot}/**/?(*.)+cy.[jt]s?(x)?"]
6666
},
6767
"lint": {
68+
"executor": "nx:run-commands",
6869
"dependsOn": ["build"],
6970
"cache": true,
7071
"inputs": [

tools/workspace-plugin/src/plugins/workspace-plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ function buildLintTarget(
336336

337337
return {
338338
cache: true,
339-
options: { cwd: projectRoot, command },
339+
command,
340+
options: { cwd: projectRoot },
340341
inputs: [
341342
'default',
342343
'{projectRoot}/.eslintrc.json',

0 commit comments

Comments
 (0)