@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 CHANGED
@@ -16,6 +16,8 @@ Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.
16
16
  npm i -D @sxzz/eslint-config
17
17
  ```
18
18
 
19
+ Require Node.js >= 16.14.
20
+
19
21
  ## Usage
20
22
 
21
23
  ```js
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "packageManager": "pnpm@8.7.1",
5
5
  "description": "ESLint config for @sxzz.",
6
6
  "type": "module",
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
  {