@webpieces/nx-webpieces-rules 0.3.209 → 0.3.211
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/package.json +6 -6
- package/src/executors/validate-catch-error-pattern/schema.json +2 -2
- package/src/executors/validate-code/schema.json +6 -6
- package/src/executors/validate-no-any-unknown/schema.json +2 -2
- package/src/executors/validate-no-destructure/schema.json +2 -2
- package/src/executors/validate-no-direct-api-resolver/schema.json +2 -2
- package/src/executors/validate-no-implicit-any/schema.json +2 -2
- package/src/executors/validate-no-unmanaged-exceptions/schema.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/nx-webpieces-rules",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.211",
|
|
4
4
|
"description": "Nx-specific webpieces validation rules and graph tooling. Bundles all @webpieces rule packages with Nx graph validators and an inference plugin.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@webpieces/ai-hook-rules": "0.3.
|
|
22
|
-
"@webpieces/code-rules": "0.3.
|
|
23
|
-
"@webpieces/eslint-rules": "0.3.
|
|
24
|
-
"@webpieces/pr-gate": "0.3.
|
|
25
|
-
"@webpieces/rules-config": "0.3.
|
|
21
|
+
"@webpieces/ai-hook-rules": "0.3.211",
|
|
22
|
+
"@webpieces/code-rules": "0.3.211",
|
|
23
|
+
"@webpieces/eslint-rules": "0.3.211",
|
|
24
|
+
"@webpieces/pr-gate": "0.3.211",
|
|
25
|
+
"@webpieces/rules-config": "0.3.211",
|
|
26
26
|
"madge": "8.0.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only catch blocks on changed lines in diff. NEW_AND_MODIFIED_FILES: all catch blocks in modified files.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"properties": {
|
|
101
101
|
"mode": {
|
|
102
102
|
"type": "string",
|
|
103
|
-
"description": "OFF: skip validation.
|
|
103
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows `any` and `unknown` TypeScript keywords.",
|
|
104
104
|
"default": "OFF"
|
|
105
105
|
},
|
|
106
106
|
"disableAllowed": {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"properties": {
|
|
121
121
|
"mode": {
|
|
122
122
|
"type": "string",
|
|
123
|
-
"description": "OFF: skip validation.
|
|
123
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only implicit-any on changed lines. NEW_AND_MODIFIED_FILES: all implicit-any in modified files.",
|
|
124
124
|
"default": "OFF"
|
|
125
125
|
},
|
|
126
126
|
"disableAllowed": {
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"properties": {
|
|
204
204
|
"mode": {
|
|
205
205
|
"type": "string",
|
|
206
|
-
"description": "OFF: skip validation.
|
|
206
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows destructuring patterns.",
|
|
207
207
|
"default": "OFF"
|
|
208
208
|
},
|
|
209
209
|
"disableAllowed": {
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"properties": {
|
|
224
224
|
"mode": {
|
|
225
225
|
"type": "string",
|
|
226
|
-
"description": "OFF: skip validation.
|
|
226
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only catch blocks on changed lines. NEW_AND_MODIFIED_FILES: all catch blocks in modified files.",
|
|
227
227
|
"default": "OFF"
|
|
228
228
|
},
|
|
229
229
|
"disableAllowed": {
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"properties": {
|
|
244
244
|
"mode": {
|
|
245
245
|
"type": "string",
|
|
246
|
-
"description": "OFF: skip validation.
|
|
246
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows try/catch blocks.",
|
|
247
247
|
"default": "OFF"
|
|
248
248
|
},
|
|
249
249
|
"disableAllowed": {
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"properties": {
|
|
264
264
|
"mode": {
|
|
265
265
|
"type": "string",
|
|
266
|
-
"description": "OFF: skip validation.
|
|
266
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_METHODS: violations in new/modified method/route scopes. NEW_AND_MODIFIED_FILES: all in modified files.",
|
|
267
267
|
"default": "OFF"
|
|
268
268
|
},
|
|
269
269
|
"disableAllowed": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows `any` and `unknown` TypeScript keywords.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows destructuring patterns.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_METHODS", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_METHODS: violations in new/modified method/route scopes. NEW_AND_MODIFIED_FILES: all in modified files.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only implicit-any on changed lines in diff. NEW_AND_MODIFIED_FILES: all implicit-any in modified files.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"mode": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["OFF", "
|
|
10
|
-
"description": "OFF: skip validation.
|
|
9
|
+
"enum": ["OFF", "NEW_AND_MODIFIED_CODE", "NEW_AND_MODIFIED_FILES"],
|
|
10
|
+
"description": "OFF: skip validation. NEW_AND_MODIFIED_CODE: only changed lines in diff. NEW_AND_MODIFIED_FILES: all in modified files. Disallows try/catch blocks.",
|
|
11
11
|
"default": "OFF"
|
|
12
12
|
},
|
|
13
13
|
"disableAllowed": {
|