@kouts/eslint-config 1.3.19 → 1.3.21

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/dist/index.cjs CHANGED
@@ -494,7 +494,11 @@ const config = (options) => {
494
494
  ...opts.ts ? pluginImportTypescript : {},
495
495
  rules: {
496
496
  // TypeScript compilation already ensures that named imports exist in the referenced module
497
- ...opts.ts ? { "import/named": "off" } : {},
497
+ // and has its own version of no-unused-vars
498
+ ...opts.ts ? {
499
+ "import/named": "off",
500
+ "no-unused-vars": "off"
501
+ } : {},
498
502
  "import/export": "error",
499
503
  "import/first": "error",
500
504
  "import/no-duplicates": "error",
package/dist/index.js CHANGED
@@ -493,7 +493,11 @@ const config = (options) => {
493
493
  ...opts.ts ? pluginImportTypescript : {},
494
494
  rules: {
495
495
  // TypeScript compilation already ensures that named imports exist in the referenced module
496
- ...opts.ts ? { "import/named": "off" } : {},
496
+ // and has its own version of no-unused-vars
497
+ ...opts.ts ? {
498
+ "import/named": "off",
499
+ "no-unused-vars": "off"
500
+ } : {},
497
501
  "import/export": "error",
498
502
  "import/first": "error",
499
503
  "import/no-duplicates": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kouts/eslint-config",
3
3
  "type": "module",
4
- "version": "1.3.19",
4
+ "version": "1.3.21",
5
5
  "packageManager": "pnpm@9.12.3",
6
6
  "engines": {
7
7
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"