Skip to content

Commit 70221be

Browse files
fix(module-federation): restore eslint lint executors
1 parent 756d3bd commit 70221be

File tree

33 files changed

+121
-103
lines changed

33 files changed

+121
-103
lines changed

packages/cli/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
]
2020
},
2121
"lint": {
22-
"executor": "nx:run-commands",
22+
"executor": "@nx/eslint:lint",
2323
"outputs": ["{options.outputFile}"],
2424
"options": {
25-
"command": "pnpm exec eslint \"packages/cli/**/*.ts\" \"packages/cli/package.json\"",
26-
"forwardAllArgs": false
25+
"lintFilePatterns": [
26+
"packages/cli/**/*.ts",
27+
"packages/cli/package.json"
28+
]
2729
}
2830
},
2931
"test": {

packages/core/project.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "nx:run-commands",
21+
"executor": "@nx/eslint:lint",
2222
"outputs": ["{options.outputFile}"],
2323
"options": {
24-
"command": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint \"packages/core/**/*.ts\"",
25-
"forwardAllArgs": false
24+
"lintFilePatterns": ["packages/core/**/*.ts"]
2625
}
2726
},
2827
"test": {

packages/create-module-federation/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
}
2323
},
2424
"lint": {
25-
"executor": "nx:run-commands",
25+
"executor": "@nx/eslint:lint",
2626
"outputs": ["{options.outputFile}"],
2727
"options": {
28-
"command": "pnpm exec eslint \"packages/create-module-federation/**/*.ts\" \"packages/create-module-federation/package.json\"",
29-
"forwardAllArgs": false
28+
"lintFilePatterns": [
29+
"packages/create-module-federation/**/*.ts",
30+
"packages/create-module-federation/package.json"
31+
]
3032
}
3133
},
3234
"test": {

packages/data-prefetch/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@
3333
}
3434
},
3535
"lint": {
36-
"executor": "nx:run-commands",
36+
"executor": "@nx/eslint:lint",
3737
"outputs": ["{options.outputFile}"],
3838
"options": {
39-
"command": "pnpm exec eslint \"packages/data-prefetch/**/*.ts\" \"packages/data-prefetch/package.json\"",
40-
"forwardAllArgs": false
39+
"lintFilePatterns": [
40+
"packages/data-prefetch/**/*.ts",
41+
"packages/data-prefetch/package.json"
42+
]
4143
}
4244
},
4345
"pre-release": {

packages/dts-plugin/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@
4040
}
4141
},
4242
"lint": {
43-
"executor": "nx:run-commands",
43+
"executor": "@nx/eslint:lint",
4444
"outputs": ["{options.outputFile}"],
4545
"options": {
46-
"command": "pnpm exec eslint \"packages/dts-plugin/**/*.ts\" \"packages/dts-plugin/package.json\"",
47-
"forwardAllArgs": false
46+
"lintFilePatterns": [
47+
"packages/dts-plugin/**/*.ts",
48+
"packages/dts-plugin/package.json"
49+
]
4850
}
4951
},
5052
"build-debug": {

packages/enhanced/project.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
]
3333
},
3434
"lint": {
35-
"executor": "nx:run-commands",
35+
"executor": "@nx/eslint:lint",
3636
"outputs": ["{options.outputFile}"],
3737
"options": {
38-
"command": "pnpm exec eslint \"packages/enhanced/**/*.ts\"",
39-
"forwardAllArgs": false
38+
"lintFilePatterns": ["packages/enhanced/**/*.ts"]
4039
}
4140
},
4241
"test": {

packages/error-codes/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
]
2727
},
2828
"lint": {
29-
"executor": "nx:run-commands",
29+
"executor": "@nx/eslint:lint",
3030
"outputs": ["{options.outputFile}"],
3131
"options": {
32-
"command": "pnpm exec eslint \"packages/error-codes/**/*.ts\" \"packages/error-codes/package.json\"",
33-
"forwardAllArgs": false
32+
"lintFilePatterns": [
33+
"packages/error-codes/**/*.ts",
34+
"packages/error-codes/package.json"
35+
]
3436
}
3537
},
3638
"test": {

packages/esbuild/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
]
2121
},
2222
"lint": {
23-
"executor": "nx:run-commands",
23+
"executor": "@nx/eslint:lint",
2424
"outputs": ["{options.outputFile}"],
2525
"options": {
26-
"command": "pnpm exec eslint \"packages/esbuild/**/*.ts\" \"packages/esbuild/package.json\"",
27-
"forwardAllArgs": false
26+
"lintFilePatterns": [
27+
"packages/esbuild/**/*.ts",
28+
"packages/esbuild/package.json"
29+
]
2830
}
2931
},
3032
"build-debug": {

packages/managers/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
]
2121
},
2222
"lint": {
23-
"executor": "nx:run-commands",
23+
"executor": "@nx/eslint:lint",
2424
"outputs": ["{options.outputFile}"],
2525
"options": {
26-
"command": "pnpm exec eslint \"packages/managers/**/*.ts\" \"packages/managers/package.json\"",
27-
"forwardAllArgs": false
26+
"lintFilePatterns": [
27+
"packages/managers/**/*.ts",
28+
"packages/managers/package.json"
29+
]
2830
}
2931
},
3032
"test": {

packages/manifest/project.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
]
2121
},
2222
"lint": {
23-
"executor": "nx:run-commands",
23+
"executor": "@nx/eslint:lint",
2424
"outputs": ["{options.outputFile}"],
2525
"options": {
26-
"command": "pnpm exec eslint \"packages/manifest/**/*.ts\" \"packages/manifest/package.json\"",
27-
"forwardAllArgs": false
26+
"lintFilePatterns": [
27+
"packages/manifest/**/*.ts",
28+
"packages/manifest/package.json"
29+
]
2830
}
2931
},
3032
"test": {

0 commit comments

Comments
 (0)