@citrus-linting/eslint-config 0.17.3 → 0.18.0
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 +1 -1
- package/rules/base.js +2 -2
- package/rules/svelte.js +3 -0
- package/rules/typescript.js +1 -1
package/package.json
CHANGED
package/rules/base.js
CHANGED
|
@@ -56,7 +56,7 @@ module.exports = {
|
|
|
56
56
|
"no-proto": 2,
|
|
57
57
|
// "no-redeclare": [2],
|
|
58
58
|
// "no-restricted-properties": [2],
|
|
59
|
-
"no-return-assign": [2
|
|
59
|
+
"no-return-assign": [2],
|
|
60
60
|
"no-return-await": 2,
|
|
61
61
|
"no-script-url": 2,
|
|
62
62
|
"no-self-assign": [2],
|
|
@@ -314,7 +314,7 @@ module.exports = {
|
|
|
314
314
|
"no-undef": [2, { typeof: true }],
|
|
315
315
|
"no-undef-init": 2,
|
|
316
316
|
// "no-undefined": 2,
|
|
317
|
-
"no-unused-vars": [2, { ignoreRestSiblings: true }],
|
|
317
|
+
"no-unused-vars": [2, { ignoreRestSiblings: true, caughtErrors: "all" }],
|
|
318
318
|
"no-use-before-define": [2]
|
|
319
319
|
}
|
|
320
320
|
}
|
package/rules/svelte.js
CHANGED
|
@@ -4,6 +4,7 @@ module.exports = {
|
|
|
4
4
|
Possible Errors
|
|
5
5
|
*/
|
|
6
6
|
"@ota-meshi/svelte/no-dupe-else-if-blocks": 2,
|
|
7
|
+
"@ota-meshi/svelte/no-dynamic-slot-name": 2,
|
|
7
8
|
"@ota-meshi/svelte/no-not-function-handler": 2,
|
|
8
9
|
"@ota-meshi/svelte/no-object-in-text-mustaches": 2,
|
|
9
10
|
"@ota-meshi/svelte/valid-compile": [2],
|
|
@@ -34,6 +35,7 @@ module.exports = {
|
|
|
34
35
|
}
|
|
35
36
|
],
|
|
36
37
|
// "@ota-meshi/svelte/max-attributes-per-line": [2],
|
|
38
|
+
"@ota-meshi/svelte/mustache-spacing": [2],
|
|
37
39
|
// "@ota-meshi/svelte/prefer-class-directive": 2,
|
|
38
40
|
"@ota-meshi/svelte/shorthand-attribute": [2],
|
|
39
41
|
"@ota-meshi/svelte/spaced-html-comment": [2],
|
|
@@ -47,6 +49,7 @@ module.exports = {
|
|
|
47
49
|
System
|
|
48
50
|
*/
|
|
49
51
|
"@ota-meshi/svelte/comment-directive": 2,
|
|
52
|
+
"@ota-meshi/svelte/dollar-prefixed-store-uses-vars": 2,
|
|
50
53
|
"@ota-meshi/svelte/system": 2,
|
|
51
54
|
|
|
52
55
|
/*
|
package/rules/typescript.js
CHANGED
|
@@ -233,7 +233,7 @@ module.exports = {
|
|
|
233
233
|
}
|
|
234
234
|
],
|
|
235
235
|
"no-unused-vars": 0,
|
|
236
|
-
"@typescript-eslint/no-unused-vars": [2, { ignoreRestSiblings: true }],
|
|
236
|
+
"@typescript-eslint/no-unused-vars": [2, { ignoreRestSiblings: true, caughtErrors: "all" }],
|
|
237
237
|
"no-use-before-define": 0,
|
|
238
238
|
"@typescript-eslint/no-use-before-define": [2]
|
|
239
239
|
// "@typescript-eslint/unified-signatures": 2
|