eslint-config-complete 3.2.2 → 3.2.4

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.
@@ -2,5 +2,5 @@
2
2
  * This ESLint config only contains rules from `eslint-plugin-complete`:
3
3
  * https://complete-ts.github.io/eslint-plugin-complete
4
4
  */
5
- export const baseComplete: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
5
+ export const baseComplete: import("eslint/config").Config[];
6
6
  //# sourceMappingURL=base-complete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-complete.d.ts","sourceRoot":"","sources":["../../src/base/base-complete.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,iGAkEE"}
1
+ {"version":3,"file":"base-complete.d.ts","sourceRoot":"","sources":["../../src/base/base-complete.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,4DAkEE"}
@@ -55,7 +55,7 @@ export const baseComplete = defineConfig({
55
55
  // Rules that require type information will throw an error on ".json" files. (This is needed
56
56
  // when using `eslint-plugin-package-json`. Even though this config does not currently use the
57
57
  // plugin, we include it here defensively.)
58
- ignores: ["*.json", "*.jsonc"],
58
+ ignores: ["**/*.json", "**/*.jsonc"],
59
59
  }, {
60
60
  files: ["**/*.js", "**/*.cjs", "**/*.mjs", "**/*.jsx"],
61
61
  rules: {
@@ -7,5 +7,5 @@
7
7
  * 2) Suggestions
8
8
  * 3) Layout & Formatting
9
9
  */
10
- export const baseESLint: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
10
+ export const baseESLint: import("eslint/config").Config[];
11
11
  //# sourceMappingURL=base-eslint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-eslint.js"],"names":[],"mappings":"AA6mBA;;;;;;;;GAQG;AACH,+FAMG"}
1
+ {"version":3,"file":"base-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-eslint.js"],"names":[],"mappings":"AA6mBA;;;;;;;;GAQG;AACH,0DAMG"}
@@ -8,5 +8,5 @@
8
8
  * 3) Static analysis
9
9
  * 4) Style guide
10
10
  */
11
- export const baseImportX: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
11
+ export const baseImportX: import("eslint/config").Config[];
12
12
  //# sourceMappingURL=base-import-x.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA+NA;;;;;;;;;GASG;AACH,gGAuFE"}
1
+ {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA+NA;;;;;;;;;GASG;AACH,2DAuFE"}
@@ -2,5 +2,5 @@
2
2
  * This ESLint config only contains rules from `eslint-plugin-jsdoc`:
3
3
  * https://github.com/gajus/eslint-plugin-jsdoc
4
4
  */
5
- export const baseJSDoc: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
5
+ export const baseJSDoc: import("eslint/config").Config[];
6
6
  //# sourceMappingURL=base-jsdoc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAqSE"}
1
+ {"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yDAqSE"}
@@ -3,5 +3,5 @@
3
3
  * https://github.com/eslint-community/eslint-plugin-n
4
4
  * (This is a forked version of `eslint-plugin-node`.)
5
5
  */
6
- export const baseN: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
6
+ export const baseN: import("eslint/config").Config[];
7
7
  //# sourceMappingURL=base-n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-n.d.ts","sourceRoot":"","sources":["../../src/base/base-n.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,0FAqIG"}
1
+ {"version":3,"file":"base-n.d.ts","sourceRoot":"","sources":["../../src/base/base-n.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,qDAqIG"}
@@ -2,5 +2,5 @@
2
2
  * This ESLint config only contains rules from `@stylistic/eslint-plugin`:
3
3
  * https://eslint.style/
4
4
  */
5
- export const baseStylistic: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
5
+ export const baseStylistic: import("eslint/config").Config[];
6
6
  //# sourceMappingURL=base-stylistic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-stylistic.d.ts","sourceRoot":"","sources":["../../src/base/base-stylistic.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,kGA2CG"}
1
+ {"version":3,"file":"base-stylistic.d.ts","sourceRoot":"","sources":["../../src/base/base-stylistic.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,6DA2CG"}
@@ -2,5 +2,5 @@
2
2
  * This ESLint config only contains rules from `@typescript-eslint/eslint-plugin`:
3
3
  * https://typescript-eslint.io/rules/
4
4
  */
5
- export const baseTypeScriptESLint: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
5
+ export const baseTypeScriptESLint: import("eslint/config").Config[];
6
6
  //# sourceMappingURL=base-typescript-eslint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yGAiiBE"}
1
+ {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oEAmiBE"}
@@ -280,6 +280,7 @@ export const baseTypeScriptESLint = defineConfig({
280
280
  allowTaggedTemplates: true,
281
281
  },
282
282
  ],
283
+ "@typescript-eslint/no-unused-private-class-members": "warn",
283
284
  /**
284
285
  * The `args` option is set to `all` make the rule stricter. Additionally, we ignore things
285
286
  * that begin with an underscore, since this matches the behavior of the `--noUnusedLocals`
@@ -428,7 +429,7 @@ export const baseTypeScriptESLint = defineConfig({
428
429
  // Rules that require type information will throw an error on ".json" files. (This is needed
429
430
  // when using `eslint-plugin-package-json`. Even though this config does not currently use the
430
431
  // plugin, we include it here defensively.)
431
- ignores: ["*.json", "*.jsonc"],
432
+ ignores: ["**/*.json", "**/*.jsonc"],
432
433
  },
433
434
  // Enable linting on TypeScript file extensions.
434
435
  {
@@ -2,5 +2,5 @@
2
2
  * This ESLint config only contains rules from `eslint-plugin-unicorn`:
3
3
  * https://github.com/sindresorhus/eslint-plugin-unicorn
4
4
  */
5
- export const baseUnicorn: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
5
+ export const baseUnicorn: import("eslint/config").Config[];
6
6
  //# sourceMappingURL=base-unicorn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,gGAkMG"}
1
+ {"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,2DAqMG"}
@@ -50,6 +50,7 @@ export const baseUnicorn = defineConfig({
50
50
  "unicorn/no-empty-file": "warn",
51
51
  "unicorn/no-for-loop": "warn",
52
52
  "unicorn/no-hex-escape": "warn",
53
+ "unicorn/no-immediate-mutation": "warn",
53
54
  "unicorn/no-instanceof-array": "warn",
54
55
  "unicorn/no-instanceof-builtins": "warn",
55
56
  "unicorn/no-invalid-fetch-options": "warn",
@@ -86,6 +87,7 @@ export const baseUnicorn = defineConfig({
86
87
  "unicorn/no-unreadable-array-destructuring": "warn",
87
88
  "unicorn/no-unreadable-iife": "warn",
88
89
  "unicorn/no-unused-properties": "warn",
90
+ "unicorn/no-useless-collection-argument": "warn",
89
91
  "unicorn/no-useless-error-capture-stack-trace": "warn",
90
92
  "unicorn/no-useless-fallback-in-spread": "warn",
91
93
  "unicorn/no-useless-length-check": "warn",
@@ -139,6 +141,7 @@ export const baseUnicorn = defineConfig({
139
141
  "unicorn/prefer-query-selector": "warn",
140
142
  "unicorn/prefer-reflect-apply": "warn",
141
143
  "unicorn/prefer-regexp-test": "warn",
144
+ "unicorn/prefer-response-static-json": "warn",
142
145
  "unicorn/prefer-set-has": "warn",
143
146
  "unicorn/prefer-set-size": "warn",
144
147
  "unicorn/prefer-single-call": "warn",
package/dist/base.d.ts CHANGED
@@ -4,5 +4,5 @@
4
4
  * Rule modifications are split out into different files for better organization (based on the
5
5
  * originating plugin) .
6
6
  */
7
- export const completeConfigBase: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
7
+ export const completeConfigBase: import("eslint/config").Config[];
8
8
  //# sourceMappingURL=base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,uGAkBE"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,kEAkBE"}
@@ -4,5 +4,5 @@
4
4
  * Rule modifications are split out into different files for better organization (based on the
5
5
  * originating plugin) .
6
6
  */
7
- export const completeConfigESLintPlugin: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
7
+ export const completeConfigESLintPlugin: import("eslint/config").Config[];
8
8
  //# sourceMappingURL=eslint-plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-plugin.d.ts","sourceRoot":"","sources":["../src/eslint-plugin.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+GA4DG"}
1
+ {"version":3,"file":"eslint-plugin.d.ts","sourceRoot":"","sources":["../src/eslint-plugin.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,0EA4DG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -32,24 +32,24 @@
32
32
  "lint": "tsx ./scripts/lint.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@stylistic/eslint-plugin": "5.4.0",
35
+ "@stylistic/eslint-plugin": "5.6.0",
36
36
  "confusing-browser-globals": "1.0.11",
37
37
  "eslint-import-resolver-typescript": "4.4.4",
38
38
  "eslint-plugin-complete": "1.1.3",
39
- "eslint-plugin-eslint-plugin": "7.0.0",
39
+ "eslint-plugin-eslint-plugin": "7.2.0",
40
40
  "eslint-plugin-import-x": "4.16.1",
41
- "eslint-plugin-jsdoc": "61.1.2",
41
+ "eslint-plugin-jsdoc": "61.2.1",
42
42
  "eslint-plugin-n": "17.23.1",
43
- "eslint-plugin-unicorn": "61.0.2",
43
+ "eslint-plugin-unicorn": "62.0.0",
44
44
  "jsonc-eslint-parser": "2.4.1",
45
- "typescript-eslint": "8.46.0"
45
+ "typescript-eslint": "8.47.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@eslint/js": "9.37.0",
48
+ "@eslint/js": "9.39.1",
49
49
  "@types/confusing-browser-globals": "1.0.3",
50
50
  "@types/eslint-config-prettier": "6.11.3",
51
- "@types/node": "24.7.2",
52
- "complete-common": "2.8.0",
51
+ "@types/node": "24.10.1",
52
+ "complete-common": "2.9.0",
53
53
  "complete-node": "12.2.1",
54
54
  "eslint-config-prettier": "10.1.8",
55
55
  "extract-comments": "1.1.0",