Skip to content

Commit a786407

Browse files
committed
refactor: adjust lint targets
1 parent d3351f0 commit a786407

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nx.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@
133133
"inputs": ["lint-eslint-inputs"],
134134
"executor": "nx:run-commands",
135135
"options": {
136-
"command": "./tools/scripts/lint-formatter.sh {projectName} {projectRoot}",
137-
"cwd": "{workspaceRoot}"
136+
"command": "nx run lint {projectName}",
137+
"env": {
138+
"ESLINT_FORMATTER_CONFIG": "{\"outputDir\":\"{projectRoot}/.eslint\"}"
139+
}
138140
}
139141
},
140142
"nxv-pkg-install": {

0 commit comments

Comments
 (0)