eslint-config-complete 3.0.1 → 3.1.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"base-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-eslint.js"],"names":[],"mappings":"AA0mBA;;;;;;;;GAQG;AACH,+FAMG"}
1
+ {"version":3,"file":"base-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-eslint.js"],"names":[],"mappings":"AA6mBA;;;;;;;;GAQG;AACH,+FAMG"}
@@ -53,7 +53,8 @@ const POSSIBLE_PROBLEMS = {
53
53
  "no-self-compare": "warn",
54
54
  "no-setter-return": "off", // @typescript-eslint/eslint-recommended
55
55
  "no-sparse-arrays": "warn",
56
- "no-template-curly-in-string": "warn",
56
+ /** Superseded by the `complete/eqeqeq-fix` rule (since we want auto-fix to work properly). */
57
+ "no-template-curly-in-string": "off",
57
58
  "no-this-before-super": "off", // @typescript-eslint/eslint-recommended`
58
59
  "no-unassigned-vars": "warn",
59
60
  "no-undef": "off", // @typescript-eslint/eslint-recommended
@@ -110,7 +111,7 @@ const SUGGESTIONS = {
110
111
  * Always requiring curly braces can partially ward against [Apple-style if statement
111
112
  * bugs](https://www.imperialviolet.org/2014/02/22/applebug.html). Additionally, this rule needs
112
113
  * to be set to "all" to [work properly with
113
- * `eslint-prettier-config`](https://github.com/prettier/eslint-config-prettier#curly).
114
+ * Prettier](https://github.com/prettier/eslint-config-prettier#curly).
114
115
  */
115
116
  curly: ["warn", "all"],
116
117
  /**
@@ -123,7 +124,7 @@ const SUGGESTIONS = {
123
124
  "default-param-last": "off",
124
125
  /** Superseded by the `@typescript-eslint/dot-notation` rule. */
125
126
  "dot-notation": "off",
126
- /** Superseded by the `complete/eqeqeq-fix` rule. */
127
+ /** Superseded by the `complete/eqeqeq-fix` rule (since we want auto-fix to work properly). */
127
128
  eqeqeq: "off",
128
129
  "func-name-matching": "warn",
129
130
  "func-names": "warn",
@@ -1 +1 @@
1
- {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA0OA;;;;;;;;;GASG;AACH,gGAgHE"}
1
+ {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA2OA;;;;;;;;;GASG;AACH,gGAgHE"}
@@ -45,6 +45,7 @@ const HELPFUL_WARNINGS = {
45
45
  "**/tests/**/*.{js,cjs,mjs,ts,cts,mts}", // Files inside of a "tests" directory.
46
46
  "**/esbuild.config.{js,cjs,mjs,ts,cts,mts}", // esbuild config
47
47
  "**/eslint.config.{js,cjs,mjs,ts,cts,mts}", // ESLint config
48
+ "**/eslint-doc-generator.config.{js,cjs,mjs,ts,cts,mts}", // eslint-doc-generator config
48
49
  "**/prettier.config.{js,cjs,mjs,ts,cts,mts}", // Prettier config
49
50
  "**/typedoc.config.{js,cjs,mjs,ts,cts,mts}", // TypeDoc config
50
51
  "**/typedoc.config.*.{js,cjs,mjs,ts,cts,mts}", // TypeDoc config
@@ -247,11 +248,11 @@ export const baseImportX = defineConfig({
247
248
  "docusaurus.config.js",
248
249
  "docusaurus.config.ts",
249
250
  "eslint.config.js",
250
- "eslint.config.cjs",
251
251
  "eslint.config.mjs",
252
252
  "eslint.config.ts",
253
- "eslint.config.cts",
254
253
  "eslint.config.mts",
254
+ "eslint-doc-generator.config.js",
255
+ "eslint-doc-generator.config.mjs",
255
256
  "jest.config.js",
256
257
  "jest.config.mjs",
257
258
  "knip.js",
@@ -1 +1 @@
1
- {"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAsRE"}
1
+ {"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAqSE"}
@@ -69,6 +69,7 @@ export const baseJSDoc = defineConfig({
69
69
  */
70
70
  "jsdoc/convert-to-jsdoc-comments": "off",
71
71
  "jsdoc/empty-tags": "warn",
72
+ "jsdoc/escape-inline-tags": "warn",
72
73
  "jsdoc/implements-on-classes": "warn",
73
74
  /** Disabled since you cannot configure it with a path to the correct "package.json" file. */
74
75
  "jsdoc/imports-as-dependencies": "off",
@@ -112,6 +113,11 @@ export const baseJSDoc = defineConfig({
112
113
  ],
113
114
  /** Disabled because it is not needed in TypeScript. */
114
115
  "jsdoc/no-undefined-types": "off",
116
+ /**
117
+ * Disabled since it is not idiomatic in the ecosystem to do this, especially in configuration
118
+ * files like "prettier.config.mjs".
119
+ */
120
+ "jsdoc/prefer-import-tag": "off",
115
121
  "jsdoc/reject-any-type": "warn",
116
122
  "jsdoc/reject-function-type": "warn",
117
123
  "jsdoc/require-asterisk-prefix": "warn",
@@ -132,6 +138,7 @@ export const baseJSDoc = defineConfig({
132
138
  "jsdoc/require-jsdoc": "off",
133
139
  "jsdoc/require-next-description": "warn",
134
140
  "jsdoc/require-next-type": "warn",
141
+ "jsdoc/require-template-description": "warn",
135
142
  "jsdoc/require-throws-description": "warn",
136
143
  /**
137
144
  * Disabled since in most cases, the type of a thrown error will simply be `Error`, making the
@@ -187,6 +194,8 @@ export const baseJSDoc = defineConfig({
187
194
  ],
188
195
  /** Disabled because it is not needed in TypeScript. */
189
196
  "jsdoc/require-returns-type": "off",
197
+ /** Disabled since it is expected to be configured with project-specific keywords. */
198
+ "jsdoc/require-tags": "off",
190
199
  /** Disabled because it is overboard to document every generic type variable. */
191
200
  "jsdoc/require-template": "off",
192
201
  /** Disabled because it is overboard to document every throw statement. */
@@ -203,6 +212,10 @@ export const baseJSDoc = defineConfig({
203
212
  * JSDoc comments to Markdown).
204
213
  */
205
214
  "jsdoc/text-escaping": "off",
215
+ "jsdoc/ts-method-signature-style": "warn",
216
+ "jsdoc/ts-no-empty-object-type": "warn",
217
+ "jsdoc/ts-no-unnecessary-template-expression": "warn",
218
+ "jsdoc/ts-prefer-function-type": "warn",
206
219
  "jsdoc/type-formatting": "warn",
207
220
  /** Disabled because it is not needed in TypeScript. */
208
221
  "jsdoc/valid-types": "off",
@@ -1 +1 @@
1
- {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yGA8jBE"}
1
+ {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yGAikBE"}
@@ -30,6 +30,9 @@ export const baseTypeScriptESLint = defineConfig({
30
30
  "eslint.config.ts",
31
31
  "eslint.config.cts",
32
32
  "eslint.config.mts",
33
+ "eslint-doc-generator.config.js",
34
+ "eslint-doc-generator.config.cjs",
35
+ "eslint-doc-generator.config.mjs",
33
36
  "Gruntfile.js",
34
37
  "Gruntfile.cjs",
35
38
  "Gruntfile.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "3.0.1",
3
+ "version": "3.1.1",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -32,28 +32,28 @@
32
32
  "lint": "tsx ./scripts/lint.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@stylistic/eslint-plugin": "5.3.1",
35
+ "@stylistic/eslint-plugin": "5.4.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
39
  "eslint-plugin-eslint-plugin": "7.0.0",
40
40
  "eslint-plugin-import-x": "4.16.1",
41
- "eslint-plugin-jsdoc": "59.0.1",
41
+ "eslint-plugin-jsdoc": "61.1.0",
42
42
  "eslint-plugin-n": "17.23.1",
43
43
  "eslint-plugin-unicorn": "61.0.2",
44
- "jsonc-eslint-parser": "2.4.0",
45
- "typescript-eslint": "8.44.0"
44
+ "jsonc-eslint-parser": "2.4.1",
45
+ "typescript-eslint": "8.46.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@eslint/js": "9.35.0",
48
+ "@eslint/js": "9.37.0",
49
49
  "@types/confusing-browser-globals": "1.0.3",
50
50
  "@types/eslint-config-prettier": "6.11.3",
51
- "@types/node": "24.5.2",
52
- "complete-common": "2.5.0",
53
- "complete-node": "12.0.0",
51
+ "@types/node": "24.7.1",
52
+ "complete-common": "2.6.0",
53
+ "complete-node": "12.2.0",
54
54
  "eslint-config-prettier": "10.1.8",
55
55
  "extract-comments": "1.1.0",
56
- "typescript": "5.9.2"
56
+ "typescript": "5.9.3"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "eslint": ">= 9.0.0"