@sxzz/eslint-config 3.5.2 → 3.5.3
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/README.md +2 -0
- package/index.cjs +3 -1
- package/package.json +1 -1
- package/src/typescript.js +3 -0
package/README.md
CHANGED
package/index.cjs
CHANGED
|
@@ -549,7 +549,9 @@ var typescript = [
|
|
|
549
549
|
],
|
|
550
550
|
"@typescript-eslint/no-explicit-any": "off",
|
|
551
551
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
552
|
-
"@typescript-eslint/prefer-as-const": "warn"
|
|
552
|
+
"@typescript-eslint/prefer-as-const": "warn",
|
|
553
|
+
// handled by unused-imports/no-unused-imports
|
|
554
|
+
"@typescript-eslint/no-unused-vars": "off"
|
|
553
555
|
}
|
|
554
556
|
},
|
|
555
557
|
{
|
package/package.json
CHANGED
package/src/typescript.js
CHANGED
|
@@ -32,6 +32,9 @@ export const typescript = [
|
|
|
32
32
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
33
33
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
34
34
|
'@typescript-eslint/prefer-as-const': 'warn',
|
|
35
|
+
|
|
36
|
+
// handled by unused-imports/no-unused-imports
|
|
37
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
35
38
|
},
|
|
36
39
|
},
|
|
37
40
|
{
|