@nx/eslint 22.7.0-beta.7 → 22.7.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/executors.json +7 -7
- package/generators.json +30 -30
- package/migrations.json +210 -210
- package/package.json +4 -4
- package/src/executors/lint/schema.json +162 -162
- package/src/generators/convert-to-flat-config/schema.json +15 -15
- package/src/generators/convert-to-inferred/schema.json +16 -16
- package/src/generators/init/schema.json +25 -25
- package/src/generators/workspace-rule/schema.json +23 -23
- package/src/generators/workspace-rules-project/schema.json +21 -21
package/executors.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
"executors": {
|
|
3
|
+
"lint": {
|
|
4
|
+
"implementation": "./src/executors/lint/lint.impl",
|
|
5
|
+
"schema": "./src/executors/lint/schema.json",
|
|
6
|
+
"hasher": "./src/executors/lint/hasher",
|
|
7
|
+
"description": "Run ESLint on a project."
|
|
8
|
+
}
|
|
8
9
|
}
|
|
9
|
-
}
|
|
10
10
|
}
|
package/generators.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
"name": "nx/eslint",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"generators": {
|
|
5
|
+
"init": {
|
|
6
|
+
"factory": "./src/generators/init/init#initEsLint",
|
|
7
|
+
"schema": "./src/generators/init/schema.json",
|
|
8
|
+
"description": "Set up the ESLint plugin.",
|
|
9
|
+
"hidden": true
|
|
10
|
+
},
|
|
11
|
+
"workspace-rules-project": {
|
|
12
|
+
"factory": "./src/generators/workspace-rules-project/workspace-rules-project#lintWorkspaceRulesProjectGenerator",
|
|
13
|
+
"schema": "./src/generators/workspace-rules-project/schema.json",
|
|
14
|
+
"description": "Create the Workspace Lint Rules Project.",
|
|
15
|
+
"hidden": true
|
|
16
|
+
},
|
|
17
|
+
"workspace-rule": {
|
|
18
|
+
"factory": "./src/generators/workspace-rule/workspace-rule#lintWorkspaceRuleGenerator",
|
|
19
|
+
"schema": "./src/generators/workspace-rule/schema.json",
|
|
20
|
+
"description": "Create a new Workspace ESLint rule."
|
|
21
|
+
},
|
|
22
|
+
"convert-to-flat-config": {
|
|
23
|
+
"factory": "./src/generators/convert-to-flat-config/generator",
|
|
24
|
+
"schema": "./src/generators/convert-to-flat-config/schema.json",
|
|
25
|
+
"description": "Convert an Nx workspace's ESLint configs to use Flat Config."
|
|
26
|
+
},
|
|
27
|
+
"convert-to-inferred": {
|
|
28
|
+
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
29
|
+
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
30
|
+
"description": "Convert existing ESLint project(s) using `@nx/eslint:lint` executor to use `@nx/eslint/plugin`."
|
|
31
|
+
}
|
|
31
32
|
}
|
|
32
|
-
}
|
|
33
33
|
}
|
package/migrations.json
CHANGED
|
@@ -1,216 +1,216 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"packageJsonUpdates": {
|
|
15
|
-
"20.4.0-typescript-eslint": {
|
|
16
|
-
"version": "20.4.0-beta.1",
|
|
17
|
-
"requires": {
|
|
18
|
-
"typescript-eslint": ">8.0.0 <8.19.0"
|
|
19
|
-
},
|
|
20
|
-
"packages": {
|
|
21
|
-
"typescript-eslint": {
|
|
22
|
-
"version": "^8.19.0"
|
|
23
|
-
},
|
|
24
|
-
"@typescript-eslint/eslint-plugin": {
|
|
25
|
-
"version": "^8.19.0"
|
|
26
|
-
},
|
|
27
|
-
"@typescript-eslint/parser": {
|
|
28
|
-
"version": "^8.19.0"
|
|
29
|
-
},
|
|
30
|
-
"@typescript-eslint/utils": {
|
|
31
|
-
"version": "^8.19.0"
|
|
32
|
-
},
|
|
33
|
-
"@typescript-eslint/rule-tester": {
|
|
34
|
-
"version": "^8.19.0",
|
|
35
|
-
"alwaysAddToPackageJson": false
|
|
36
|
-
},
|
|
37
|
-
"@typescript-eslint/scope-manager": {
|
|
38
|
-
"version": "^8.19.0",
|
|
39
|
-
"alwaysAddToPackageJson": false
|
|
40
|
-
},
|
|
41
|
-
"@typescript-eslint/typescript-estree": {
|
|
42
|
-
"version": "^8.19.0",
|
|
43
|
-
"alwaysAddToPackageJson": false
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"20.4.0-@typescript-eslint": {
|
|
48
|
-
"version": "20.4.0-beta.1",
|
|
49
|
-
"requires": {
|
|
50
|
-
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.19.0"
|
|
51
|
-
},
|
|
52
|
-
"packages": {
|
|
53
|
-
"typescript-eslint": {
|
|
54
|
-
"version": "^8.19.0"
|
|
55
|
-
},
|
|
56
|
-
"@typescript-eslint/eslint-plugin": {
|
|
57
|
-
"version": "^8.19.0"
|
|
58
|
-
},
|
|
59
|
-
"@typescript-eslint/parser": {
|
|
60
|
-
"version": "^8.19.0"
|
|
61
|
-
},
|
|
62
|
-
"@typescript-eslint/utils": {
|
|
63
|
-
"version": "^8.19.0"
|
|
64
|
-
},
|
|
65
|
-
"@typescript-eslint/rule-tester": {
|
|
66
|
-
"version": "^8.19.0",
|
|
67
|
-
"alwaysAddToPackageJson": false
|
|
68
|
-
},
|
|
69
|
-
"@typescript-eslint/scope-manager": {
|
|
70
|
-
"version": "^8.19.0",
|
|
71
|
-
"alwaysAddToPackageJson": false
|
|
72
|
-
},
|
|
73
|
-
"@typescript-eslint/typescript-estree": {
|
|
74
|
-
"version": "^8.19.0",
|
|
75
|
-
"alwaysAddToPackageJson": false
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"20.7.0": {
|
|
80
|
-
"version": "20.7.0-beta.4",
|
|
81
|
-
"packages": {
|
|
82
|
-
"eslint-config-prettier": {
|
|
83
|
-
"version": "^10.0.0"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"21.2.0-typescript-eslint": {
|
|
88
|
-
"version": "21.2.0-beta.0",
|
|
89
|
-
"requires": {
|
|
90
|
-
"typescript-eslint": ">8.0.0 <8.29.0"
|
|
91
|
-
},
|
|
92
|
-
"packages": {
|
|
93
|
-
"typescript-eslint": {
|
|
94
|
-
"version": "^8.29.0"
|
|
95
|
-
},
|
|
96
|
-
"@typescript-eslint/eslint-plugin": {
|
|
97
|
-
"version": "^8.29.0"
|
|
98
|
-
},
|
|
99
|
-
"@typescript-eslint/parser": {
|
|
100
|
-
"version": "^8.29.0"
|
|
101
|
-
},
|
|
102
|
-
"@typescript-eslint/utils": {
|
|
103
|
-
"version": "^8.29.0"
|
|
104
|
-
},
|
|
105
|
-
"@typescript-eslint/rule-tester": {
|
|
106
|
-
"version": "^8.29.0",
|
|
107
|
-
"alwaysAddToPackageJson": false
|
|
108
|
-
},
|
|
109
|
-
"@typescript-eslint/scope-manager": {
|
|
110
|
-
"version": "^8.29.0",
|
|
111
|
-
"alwaysAddToPackageJson": false
|
|
112
|
-
},
|
|
113
|
-
"@typescript-eslint/typescript-estree": {
|
|
114
|
-
"version": "^8.29.0",
|
|
115
|
-
"alwaysAddToPackageJson": false
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"21.2.0-@typescript-eslint": {
|
|
120
|
-
"version": "21.2.0-beta.0",
|
|
121
|
-
"requires": {
|
|
122
|
-
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.29.0"
|
|
123
|
-
},
|
|
124
|
-
"packages": {
|
|
125
|
-
"typescript-eslint": {
|
|
126
|
-
"version": "^8.29.0"
|
|
127
|
-
},
|
|
128
|
-
"@typescript-eslint/eslint-plugin": {
|
|
129
|
-
"version": "^8.29.0"
|
|
130
|
-
},
|
|
131
|
-
"@typescript-eslint/parser": {
|
|
132
|
-
"version": "^8.29.0"
|
|
133
|
-
},
|
|
134
|
-
"@typescript-eslint/utils": {
|
|
135
|
-
"version": "^8.29.0"
|
|
136
|
-
},
|
|
137
|
-
"@typescript-eslint/rule-tester": {
|
|
138
|
-
"version": "^8.29.0",
|
|
139
|
-
"alwaysAddToPackageJson": false
|
|
140
|
-
},
|
|
141
|
-
"@typescript-eslint/scope-manager": {
|
|
142
|
-
"version": "^8.29.0",
|
|
143
|
-
"alwaysAddToPackageJson": false
|
|
144
|
-
},
|
|
145
|
-
"@typescript-eslint/typescript-estree": {
|
|
146
|
-
"version": "^8.29.0",
|
|
147
|
-
"alwaysAddToPackageJson": false
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"21.5.0-typescript-eslint": {
|
|
152
|
-
"version": "21.5.0-beta.2",
|
|
153
|
-
"requires": {
|
|
154
|
-
"typescript-eslint": ">8.0.0 <8.40.0"
|
|
155
|
-
},
|
|
156
|
-
"packages": {
|
|
157
|
-
"typescript-eslint": {
|
|
158
|
-
"version": "^8.40.0"
|
|
159
|
-
},
|
|
160
|
-
"@typescript-eslint/eslint-plugin": {
|
|
161
|
-
"version": "^8.40.0"
|
|
162
|
-
},
|
|
163
|
-
"@typescript-eslint/parser": {
|
|
164
|
-
"version": "^8.40.0"
|
|
165
|
-
},
|
|
166
|
-
"@typescript-eslint/utils": {
|
|
167
|
-
"version": "^8.40.0"
|
|
168
|
-
},
|
|
169
|
-
"@typescript-eslint/rule-tester": {
|
|
170
|
-
"version": "^8.40.0",
|
|
171
|
-
"alwaysAddToPackageJson": false
|
|
172
|
-
},
|
|
173
|
-
"@typescript-eslint/scope-manager": {
|
|
174
|
-
"version": "^8.40.0",
|
|
175
|
-
"alwaysAddToPackageJson": false
|
|
176
|
-
},
|
|
177
|
-
"@typescript-eslint/typescript-estree": {
|
|
178
|
-
"version": "^8.40.0",
|
|
179
|
-
"alwaysAddToPackageJson": false
|
|
2
|
+
"generators": {
|
|
3
|
+
"update-typescript-eslint-v8.13.0": {
|
|
4
|
+
"version": "20.2.0-beta.5",
|
|
5
|
+
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
|
|
6
|
+
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0"
|
|
7
|
+
},
|
|
8
|
+
"add-file-extensions-to-overrides": {
|
|
9
|
+
"version": "20.3.0-beta.1",
|
|
10
|
+
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
|
|
11
|
+
"implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides"
|
|
180
12
|
}
|
|
181
|
-
}
|
|
182
13
|
},
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
14
|
+
"packageJsonUpdates": {
|
|
15
|
+
"20.4.0-typescript-eslint": {
|
|
16
|
+
"version": "20.4.0-beta.1",
|
|
17
|
+
"requires": {
|
|
18
|
+
"typescript-eslint": ">8.0.0 <8.19.0"
|
|
19
|
+
},
|
|
20
|
+
"packages": {
|
|
21
|
+
"typescript-eslint": {
|
|
22
|
+
"version": "^8.19.0"
|
|
23
|
+
},
|
|
24
|
+
"@typescript-eslint/eslint-plugin": {
|
|
25
|
+
"version": "^8.19.0"
|
|
26
|
+
},
|
|
27
|
+
"@typescript-eslint/parser": {
|
|
28
|
+
"version": "^8.19.0"
|
|
29
|
+
},
|
|
30
|
+
"@typescript-eslint/utils": {
|
|
31
|
+
"version": "^8.19.0"
|
|
32
|
+
},
|
|
33
|
+
"@typescript-eslint/rule-tester": {
|
|
34
|
+
"version": "^8.19.0",
|
|
35
|
+
"alwaysAddToPackageJson": false
|
|
36
|
+
},
|
|
37
|
+
"@typescript-eslint/scope-manager": {
|
|
38
|
+
"version": "^8.19.0",
|
|
39
|
+
"alwaysAddToPackageJson": false
|
|
40
|
+
},
|
|
41
|
+
"@typescript-eslint/typescript-estree": {
|
|
42
|
+
"version": "^8.19.0",
|
|
43
|
+
"alwaysAddToPackageJson": false
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"20.4.0-@typescript-eslint": {
|
|
48
|
+
"version": "20.4.0-beta.1",
|
|
49
|
+
"requires": {
|
|
50
|
+
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.19.0"
|
|
51
|
+
},
|
|
52
|
+
"packages": {
|
|
53
|
+
"typescript-eslint": {
|
|
54
|
+
"version": "^8.19.0"
|
|
55
|
+
},
|
|
56
|
+
"@typescript-eslint/eslint-plugin": {
|
|
57
|
+
"version": "^8.19.0"
|
|
58
|
+
},
|
|
59
|
+
"@typescript-eslint/parser": {
|
|
60
|
+
"version": "^8.19.0"
|
|
61
|
+
},
|
|
62
|
+
"@typescript-eslint/utils": {
|
|
63
|
+
"version": "^8.19.0"
|
|
64
|
+
},
|
|
65
|
+
"@typescript-eslint/rule-tester": {
|
|
66
|
+
"version": "^8.19.0",
|
|
67
|
+
"alwaysAddToPackageJson": false
|
|
68
|
+
},
|
|
69
|
+
"@typescript-eslint/scope-manager": {
|
|
70
|
+
"version": "^8.19.0",
|
|
71
|
+
"alwaysAddToPackageJson": false
|
|
72
|
+
},
|
|
73
|
+
"@typescript-eslint/typescript-estree": {
|
|
74
|
+
"version": "^8.19.0",
|
|
75
|
+
"alwaysAddToPackageJson": false
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"20.7.0": {
|
|
80
|
+
"version": "20.7.0-beta.4",
|
|
81
|
+
"packages": {
|
|
82
|
+
"eslint-config-prettier": {
|
|
83
|
+
"version": "^10.0.0"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"21.2.0-typescript-eslint": {
|
|
88
|
+
"version": "21.2.0-beta.0",
|
|
89
|
+
"requires": {
|
|
90
|
+
"typescript-eslint": ">8.0.0 <8.29.0"
|
|
91
|
+
},
|
|
92
|
+
"packages": {
|
|
93
|
+
"typescript-eslint": {
|
|
94
|
+
"version": "^8.29.0"
|
|
95
|
+
},
|
|
96
|
+
"@typescript-eslint/eslint-plugin": {
|
|
97
|
+
"version": "^8.29.0"
|
|
98
|
+
},
|
|
99
|
+
"@typescript-eslint/parser": {
|
|
100
|
+
"version": "^8.29.0"
|
|
101
|
+
},
|
|
102
|
+
"@typescript-eslint/utils": {
|
|
103
|
+
"version": "^8.29.0"
|
|
104
|
+
},
|
|
105
|
+
"@typescript-eslint/rule-tester": {
|
|
106
|
+
"version": "^8.29.0",
|
|
107
|
+
"alwaysAddToPackageJson": false
|
|
108
|
+
},
|
|
109
|
+
"@typescript-eslint/scope-manager": {
|
|
110
|
+
"version": "^8.29.0",
|
|
111
|
+
"alwaysAddToPackageJson": false
|
|
112
|
+
},
|
|
113
|
+
"@typescript-eslint/typescript-estree": {
|
|
114
|
+
"version": "^8.29.0",
|
|
115
|
+
"alwaysAddToPackageJson": false
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"21.2.0-@typescript-eslint": {
|
|
120
|
+
"version": "21.2.0-beta.0",
|
|
121
|
+
"requires": {
|
|
122
|
+
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.29.0"
|
|
123
|
+
},
|
|
124
|
+
"packages": {
|
|
125
|
+
"typescript-eslint": {
|
|
126
|
+
"version": "^8.29.0"
|
|
127
|
+
},
|
|
128
|
+
"@typescript-eslint/eslint-plugin": {
|
|
129
|
+
"version": "^8.29.0"
|
|
130
|
+
},
|
|
131
|
+
"@typescript-eslint/parser": {
|
|
132
|
+
"version": "^8.29.0"
|
|
133
|
+
},
|
|
134
|
+
"@typescript-eslint/utils": {
|
|
135
|
+
"version": "^8.29.0"
|
|
136
|
+
},
|
|
137
|
+
"@typescript-eslint/rule-tester": {
|
|
138
|
+
"version": "^8.29.0",
|
|
139
|
+
"alwaysAddToPackageJson": false
|
|
140
|
+
},
|
|
141
|
+
"@typescript-eslint/scope-manager": {
|
|
142
|
+
"version": "^8.29.0",
|
|
143
|
+
"alwaysAddToPackageJson": false
|
|
144
|
+
},
|
|
145
|
+
"@typescript-eslint/typescript-estree": {
|
|
146
|
+
"version": "^8.29.0",
|
|
147
|
+
"alwaysAddToPackageJson": false
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"21.5.0-typescript-eslint": {
|
|
152
|
+
"version": "21.5.0-beta.2",
|
|
153
|
+
"requires": {
|
|
154
|
+
"typescript-eslint": ">8.0.0 <8.40.0"
|
|
155
|
+
},
|
|
156
|
+
"packages": {
|
|
157
|
+
"typescript-eslint": {
|
|
158
|
+
"version": "^8.40.0"
|
|
159
|
+
},
|
|
160
|
+
"@typescript-eslint/eslint-plugin": {
|
|
161
|
+
"version": "^8.40.0"
|
|
162
|
+
},
|
|
163
|
+
"@typescript-eslint/parser": {
|
|
164
|
+
"version": "^8.40.0"
|
|
165
|
+
},
|
|
166
|
+
"@typescript-eslint/utils": {
|
|
167
|
+
"version": "^8.40.0"
|
|
168
|
+
},
|
|
169
|
+
"@typescript-eslint/rule-tester": {
|
|
170
|
+
"version": "^8.40.0",
|
|
171
|
+
"alwaysAddToPackageJson": false
|
|
172
|
+
},
|
|
173
|
+
"@typescript-eslint/scope-manager": {
|
|
174
|
+
"version": "^8.40.0",
|
|
175
|
+
"alwaysAddToPackageJson": false
|
|
176
|
+
},
|
|
177
|
+
"@typescript-eslint/typescript-estree": {
|
|
178
|
+
"version": "^8.40.0",
|
|
179
|
+
"alwaysAddToPackageJson": false
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"21.5.0-@typescript-eslint": {
|
|
184
|
+
"version": "21.5.0-beta.2",
|
|
185
|
+
"requires": {
|
|
186
|
+
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.40.0"
|
|
187
|
+
},
|
|
188
|
+
"packages": {
|
|
189
|
+
"typescript-eslint": {
|
|
190
|
+
"version": "^8.40.0"
|
|
191
|
+
},
|
|
192
|
+
"@typescript-eslint/eslint-plugin": {
|
|
193
|
+
"version": "^8.40.0"
|
|
194
|
+
},
|
|
195
|
+
"@typescript-eslint/parser": {
|
|
196
|
+
"version": "^8.40.0"
|
|
197
|
+
},
|
|
198
|
+
"@typescript-eslint/utils": {
|
|
199
|
+
"version": "^8.40.0"
|
|
200
|
+
},
|
|
201
|
+
"@typescript-eslint/rule-tester": {
|
|
202
|
+
"version": "^8.40.0",
|
|
203
|
+
"alwaysAddToPackageJson": false
|
|
204
|
+
},
|
|
205
|
+
"@typescript-eslint/scope-manager": {
|
|
206
|
+
"version": "^8.40.0",
|
|
207
|
+
"alwaysAddToPackageJson": false
|
|
208
|
+
},
|
|
209
|
+
"@typescript-eslint/typescript-estree": {
|
|
210
|
+
"version": "^8.40.0",
|
|
211
|
+
"alwaysAddToPackageJson": false
|
|
212
|
+
}
|
|
213
|
+
}
|
|
212
214
|
}
|
|
213
|
-
}
|
|
214
215
|
}
|
|
215
|
-
}
|
|
216
216
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint",
|
|
3
|
-
"version": "22.7.0-beta.
|
|
3
|
+
"version": "22.7.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"eslint": "^8.0.0 || ^9.0.0 || ^10.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nx/devkit": "22.7.0-beta.
|
|
40
|
-
"@nx/js": "22.7.0-beta.
|
|
39
|
+
"@nx/devkit": "22.7.0-beta.9",
|
|
40
|
+
"@nx/js": "22.7.0-beta.9",
|
|
41
41
|
"semver": "^7.6.3",
|
|
42
42
|
"tslib": "^2.3.0",
|
|
43
43
|
"typescript": "~5.9.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"nx": "22.7.0-beta.
|
|
46
|
+
"nx": "22.7.0-beta.9"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"@zkochan/js-yaml": {
|
|
@@ -1,166 +1,166 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
2
|
+
"version": 2,
|
|
3
|
+
"outputCapture": "direct-nodejs",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"title": "ESLint Lint Target",
|
|
6
|
+
"description": "ESLint Lint Target.",
|
|
7
|
+
"cli": "nx",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"eslintConfig": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "The name of the ESLint configuration file.",
|
|
13
|
+
"x-completion-type": "file",
|
|
14
|
+
"x-completion-glob": ".eslintrc?(.json)",
|
|
15
|
+
"x-priority": "important"
|
|
16
|
+
},
|
|
17
|
+
"lintFilePatterns": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"description": "One or more files/dirs/globs to pass directly to ESLint's `lintFiles()` method.",
|
|
20
|
+
"default": ["{projectRoot}"],
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"format": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "ESLint Output formatter (https://eslint.org/docs/user-guide/formatters).",
|
|
28
|
+
"default": "stylish",
|
|
29
|
+
"anyOf": [
|
|
30
|
+
{
|
|
31
|
+
"enum": [
|
|
32
|
+
"stylish",
|
|
33
|
+
"compact",
|
|
34
|
+
"codeframe",
|
|
35
|
+
"unix",
|
|
36
|
+
"visualstudio",
|
|
37
|
+
"table",
|
|
38
|
+
"checkstyle",
|
|
39
|
+
"html",
|
|
40
|
+
"jslint-xml",
|
|
41
|
+
"json",
|
|
42
|
+
"json-with-metadata",
|
|
43
|
+
"junit",
|
|
44
|
+
"tap"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"minLength": 1
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"x-priority": "important"
|
|
52
|
+
},
|
|
53
|
+
"force": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Succeeds even if there was linting errors.",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"silent": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "Hide output text.",
|
|
61
|
+
"default": false
|
|
62
|
+
},
|
|
63
|
+
"fix": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"description": "Fixes linting errors (may overwrite linted files).",
|
|
66
|
+
"default": false,
|
|
67
|
+
"x-priority": "important"
|
|
68
|
+
},
|
|
69
|
+
"cache": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Only check changed files.",
|
|
72
|
+
"default": false
|
|
73
|
+
},
|
|
74
|
+
"cacheLocation": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Path to the cache file or directory.",
|
|
77
|
+
"x-completion-type": "directory",
|
|
78
|
+
"x-completion-glob": "tsconfig.*.json"
|
|
79
|
+
},
|
|
80
|
+
"outputFile": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "File to write report to.",
|
|
83
|
+
"x-completion-type": "file"
|
|
84
|
+
},
|
|
85
|
+
"maxWarnings": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Number of warnings to trigger nonzero exit code - default: `-1`.",
|
|
88
|
+
"default": -1
|
|
89
|
+
},
|
|
90
|
+
"quiet": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Report errors only - default: `false`.",
|
|
93
|
+
"default": false,
|
|
94
|
+
"x-priority": "important"
|
|
95
|
+
},
|
|
96
|
+
"ignorePath": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "The path of the `.eslintignore` file. Not supported for Flat Config.",
|
|
99
|
+
"x-completion-type": "file",
|
|
100
|
+
"x-completion-glob": ".eslintignore"
|
|
101
|
+
},
|
|
102
|
+
"noEslintrc": {
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"description": "The equivalent of the `--no-eslintrc` flag on the ESLint CLI, it is `false` by default.",
|
|
105
|
+
"default": false
|
|
106
|
+
},
|
|
107
|
+
"hasTypeAwareRules": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"description": "When set to `true`, the linter will invalidate its cache when any of its dependencies changes."
|
|
110
|
+
},
|
|
111
|
+
"cacheStrategy": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Strategy to use for detecting changed files in the cache.",
|
|
114
|
+
"default": "metadata",
|
|
115
|
+
"enum": ["metadata", "content"]
|
|
116
|
+
},
|
|
117
|
+
"rulesdir": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"description": "The equivalent of the `--rulesdir` flag on the ESLint CLI.",
|
|
120
|
+
"default": [],
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"x-completion-type": "directory"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"resolvePluginsRelativeTo": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI. Not supported for Flat Config.",
|
|
129
|
+
"x-completion-type": "directory"
|
|
130
|
+
},
|
|
131
|
+
"reportUnusedDisableDirectives": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"enum": ["off", "warn", "error"],
|
|
134
|
+
"description": "The equivalent of the `--report-unused-disable-directives` flag on the ESLint CLI."
|
|
135
|
+
},
|
|
136
|
+
"printConfig": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "The equivalent of the `--print-config` flag on the ESLint CLI.",
|
|
139
|
+
"x-completion-type": "file"
|
|
140
|
+
},
|
|
141
|
+
"errorOnUnmatchedPattern": {
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"description": "When set to false, equivalent of the `--no-error-on-unmatched-pattern` flag on the ESLint CLI.",
|
|
144
|
+
"default": true
|
|
145
|
+
},
|
|
146
|
+
"suppressAll": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"description": "Suppress all existing violations. This is equivalent to the `--suppress-all` flag on the ESLint CLI. Requires ESLint v9.24.0 or higher.",
|
|
149
|
+
"default": false
|
|
150
|
+
},
|
|
151
|
+
"suppressRule": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"description": "Suppress violations for specific rules. This is equivalent to the `--suppress-rule` flag on the ESLint CLI. Requires ESLint v9.24.0 or higher.",
|
|
154
|
+
"default": [],
|
|
155
|
+
"items": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"suppressionsLocation": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Specify the location of the suppressions file. This is equivalent to the `--suppressions-location` flag on the ESLint CLI. Defaults to 'eslint-suppressions.json' in the project root. Requires ESLint v9.24.0 or higher.",
|
|
162
|
+
"x-completion-type": "file"
|
|
49
163
|
}
|
|
50
|
-
],
|
|
51
|
-
"x-priority": "important"
|
|
52
|
-
},
|
|
53
|
-
"force": {
|
|
54
|
-
"type": "boolean",
|
|
55
|
-
"description": "Succeeds even if there was linting errors.",
|
|
56
|
-
"default": false
|
|
57
|
-
},
|
|
58
|
-
"silent": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"description": "Hide output text.",
|
|
61
|
-
"default": false
|
|
62
|
-
},
|
|
63
|
-
"fix": {
|
|
64
|
-
"type": "boolean",
|
|
65
|
-
"description": "Fixes linting errors (may overwrite linted files).",
|
|
66
|
-
"default": false,
|
|
67
|
-
"x-priority": "important"
|
|
68
|
-
},
|
|
69
|
-
"cache": {
|
|
70
|
-
"type": "boolean",
|
|
71
|
-
"description": "Only check changed files.",
|
|
72
|
-
"default": false
|
|
73
|
-
},
|
|
74
|
-
"cacheLocation": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "Path to the cache file or directory.",
|
|
77
|
-
"x-completion-type": "directory",
|
|
78
|
-
"x-completion-glob": "tsconfig.*.json"
|
|
79
|
-
},
|
|
80
|
-
"outputFile": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"description": "File to write report to.",
|
|
83
|
-
"x-completion-type": "file"
|
|
84
|
-
},
|
|
85
|
-
"maxWarnings": {
|
|
86
|
-
"type": "number",
|
|
87
|
-
"description": "Number of warnings to trigger nonzero exit code - default: `-1`.",
|
|
88
|
-
"default": -1
|
|
89
|
-
},
|
|
90
|
-
"quiet": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Report errors only - default: `false`.",
|
|
93
|
-
"default": false,
|
|
94
|
-
"x-priority": "important"
|
|
95
|
-
},
|
|
96
|
-
"ignorePath": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"description": "The path of the `.eslintignore` file. Not supported for Flat Config.",
|
|
99
|
-
"x-completion-type": "file",
|
|
100
|
-
"x-completion-glob": ".eslintignore"
|
|
101
|
-
},
|
|
102
|
-
"noEslintrc": {
|
|
103
|
-
"type": "boolean",
|
|
104
|
-
"description": "The equivalent of the `--no-eslintrc` flag on the ESLint CLI, it is `false` by default.",
|
|
105
|
-
"default": false
|
|
106
|
-
},
|
|
107
|
-
"hasTypeAwareRules": {
|
|
108
|
-
"type": "boolean",
|
|
109
|
-
"description": "When set to `true`, the linter will invalidate its cache when any of its dependencies changes."
|
|
110
|
-
},
|
|
111
|
-
"cacheStrategy": {
|
|
112
|
-
"type": "string",
|
|
113
|
-
"description": "Strategy to use for detecting changed files in the cache.",
|
|
114
|
-
"default": "metadata",
|
|
115
|
-
"enum": ["metadata", "content"]
|
|
116
|
-
},
|
|
117
|
-
"rulesdir": {
|
|
118
|
-
"type": "array",
|
|
119
|
-
"description": "The equivalent of the `--rulesdir` flag on the ESLint CLI.",
|
|
120
|
-
"default": [],
|
|
121
|
-
"items": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"x-completion-type": "directory"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"resolvePluginsRelativeTo": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI. Not supported for Flat Config.",
|
|
129
|
-
"x-completion-type": "directory"
|
|
130
|
-
},
|
|
131
|
-
"reportUnusedDisableDirectives": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"enum": ["off", "warn", "error"],
|
|
134
|
-
"description": "The equivalent of the `--report-unused-disable-directives` flag on the ESLint CLI."
|
|
135
|
-
},
|
|
136
|
-
"printConfig": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"description": "The equivalent of the `--print-config` flag on the ESLint CLI.",
|
|
139
|
-
"x-completion-type": "file"
|
|
140
|
-
},
|
|
141
|
-
"errorOnUnmatchedPattern": {
|
|
142
|
-
"type": "boolean",
|
|
143
|
-
"description": "When set to false, equivalent of the `--no-error-on-unmatched-pattern` flag on the ESLint CLI.",
|
|
144
|
-
"default": true
|
|
145
|
-
},
|
|
146
|
-
"suppressAll": {
|
|
147
|
-
"type": "boolean",
|
|
148
|
-
"description": "Suppress all existing violations. This is equivalent to the `--suppress-all` flag on the ESLint CLI. Requires ESLint v9.24.0 or higher.",
|
|
149
|
-
"default": false
|
|
150
|
-
},
|
|
151
|
-
"suppressRule": {
|
|
152
|
-
"type": "array",
|
|
153
|
-
"description": "Suppress violations for specific rules. This is equivalent to the `--suppress-rule` flag on the ESLint CLI. Requires ESLint v9.24.0 or higher.",
|
|
154
|
-
"default": [],
|
|
155
|
-
"items": {
|
|
156
|
-
"type": "string"
|
|
157
|
-
}
|
|
158
164
|
},
|
|
159
|
-
"
|
|
160
|
-
"type": "string",
|
|
161
|
-
"description": "Specify the location of the suppressions file. This is equivalent to the `--suppressions-location` flag on the ESLint CLI. Defaults to 'eslint-suppressions.json' in the project root. Requires ESLint v9.24.0 or higher.",
|
|
162
|
-
"x-completion-type": "file"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"examplesFile": "../../../docs/eslint-examples.md"
|
|
165
|
+
"examplesFile": "../../../docs/eslint-examples.md"
|
|
166
166
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "ConvertToFlatConfig",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"description": "Convert an Nx workspace's ESLint configs to use Flat Config.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"skipFormat": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"description": "Skip formatting files.",
|
|
11
|
+
"default": false,
|
|
12
|
+
"x-priority": "internal"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": []
|
|
17
17
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxEslintConvertToInferred",
|
|
4
|
+
"description": "Convert existing Eslint project(s) using `@nx/eslint:lint` executor to use `@nx/eslint/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
|
|
5
|
+
"title": "Convert Eslint project from executor to plugin",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project to convert from using the `@nx/eslint:lint` executor to use `@nx/eslint/plugin`.",
|
|
11
|
+
"x-priority": "important"
|
|
12
|
+
},
|
|
13
|
+
"skipFormat": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"description": "Whether to format files at the end of the migration.",
|
|
16
|
+
"default": false
|
|
17
|
+
}
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
19
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "NxESLintInit",
|
|
5
|
+
"title": "Initialize ESLint Plugin",
|
|
6
|
+
"description": "Set up the ESLint plugin.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"skipPackageJson": {
|
|
10
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": false
|
|
13
|
+
},
|
|
14
|
+
"keepExistingVersions": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"x-priority": "internal",
|
|
17
|
+
"description": "Keep existing dependencies versions",
|
|
18
|
+
"default": false
|
|
19
|
+
},
|
|
20
|
+
"updatePackageScripts": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"x-priority": "internal",
|
|
23
|
+
"description": "Update `package.json` scripts with inferred targets",
|
|
24
|
+
"default": false
|
|
25
|
+
}
|
|
13
26
|
},
|
|
14
|
-
"
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"x-priority": "internal",
|
|
17
|
-
"description": "Keep existing dependencies versions",
|
|
18
|
-
"default": false
|
|
19
|
-
},
|
|
20
|
-
"updatePackageScripts": {
|
|
21
|
-
"type": "boolean",
|
|
22
|
-
"x-priority": "internal",
|
|
23
|
-
"description": "Update `package.json` scripts with inferred targets",
|
|
24
|
-
"default": false
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": []
|
|
27
|
+
"required": []
|
|
28
28
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxWorkspaceRule",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Create a new Workspace Lint Rule",
|
|
6
|
+
"description": "Create a new Workspace Lint Rule.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The name of the new rule.",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"directory": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Create the rule under this directory within `tools/eslint-rules/` (can be nested).",
|
|
20
|
+
"alias": "dir",
|
|
21
|
+
"default": "rules"
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"description": "Create the rule under this directory within `tools/eslint-rules/` (can be nested).",
|
|
20
|
-
"alias": "dir",
|
|
21
|
-
"default": "rules"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"required": ["name", "directory"],
|
|
25
|
-
"examplesFile": "../../../docs/workspace-rule-examples.md"
|
|
24
|
+
"required": ["name", "directory"],
|
|
25
|
+
"examplesFile": "../../../docs/workspace-rule-examples.md"
|
|
26
26
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxWorkspaceRulesProject",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Create the Workspace Lint Rules Project",
|
|
6
|
+
"description": "Create the Workspace Lint Rules Project.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"examples": [
|
|
9
|
+
{
|
|
10
|
+
"command": "nx g @nx/eslint:workspace-rules-project",
|
|
11
|
+
"description": "Create the Workspace Lint Rules Project"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"skipFormat": {
|
|
16
|
+
"description": "Skip formatting files.",
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"default": false,
|
|
19
|
+
"x-priority": "internal"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": []
|
|
23
23
|
}
|