Skip to content

Commit fe10e39

Browse files
committed
refactor: wip
1 parent 563c8ec commit fe10e39

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

nx.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,21 @@
9797
},
9898
"lint": {
9999
"inputs": ["lint-eslint-inputs"],
100-
"executor": "@nx/eslint:lint",
101-
"cache": true,
102-
"options": {
103-
"errorOnUnmatchedPattern": false,
104-
"maxWarnings": 0,
105-
"lintFilePatterns": [
106-
"{projectRoot}/**/*.ts",
107-
"{projectRoot}/package.json"
108-
]
109-
}
110-
},
111-
"lint-report": {
112100
"dependsOn": ["eslint-formatter-multiple-formats:build"],
113-
"inputs": ["lint-eslint-inputs"],
114-
"outputs": ["{projectRoot}/.eslint"],
115101
"executor": "nx:run-commands",
102+
"cache": true,
116103
"options": {
117-
"command": "nx run {projectName}:lint --format=./tools/eslint-formatter-multiple-formats/dist/src/index.js",
104+
"command": "npx eslint",
105+
"args": [
106+
"{projectRoot}",
107+
"--config={projectRoot}/eslint.config.js",
108+
"--max-warnings=0",
109+
"--format=./tools/eslint-formatter-multiple-formats/dist/src/index.js",
110+
"--error-on-unmatched-pattern=false",
111+
"--max-warnings=0"
112+
],
118113
"env": {
114+
"NX_TUI": "false",
119115
"ESLINT_FORMATTER_CONFIG": "{\"outputDir\":\"{projectRoot}/.eslint\"}"
120116
}
121117
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"code-pushup-eslint": {
2020
"dependsOn": [
2121
{
22-
"target": "lint-report",
22+
"target": "lint",
2323
"projects": "*"
2424
}
2525
]

0 commit comments

Comments
 (0)