eslint-config-complete 3.0.0 → 3.1.0
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/base/base-import-x.d.ts.map +1 -1
- package/dist/base/base-import-x.js +2 -0
- package/dist/base/base-jsdoc.d.ts.map +1 -1
- package/dist/base/base-jsdoc.js +7 -0
- package/dist/base/base-typescript-eslint.d.ts.map +1 -1
- package/dist/base/base-typescript-eslint.js +6 -0
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA2OA;;;;;;;;;GASG;AACH,gGAgHE"}
|
|
@@ -43,7 +43,9 @@ const HELPFUL_WARNINGS = {
|
|
|
43
43
|
"**/.eslintrc.js", // eslint config
|
|
44
44
|
"**/scripts/**/*.{js,cjs,mjs,ts,cts,mts}", // Files inside of a "scripts" directory.
|
|
45
45
|
"**/tests/**/*.{js,cjs,mjs,ts,cts,mts}", // Files inside of a "tests" directory.
|
|
46
|
+
"**/esbuild.config.{js,cjs,mjs,ts,cts,mts}", // esbuild config
|
|
46
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
|
|
47
49
|
"**/prettier.config.{js,cjs,mjs,ts,cts,mts}", // Prettier config
|
|
48
50
|
"**/typedoc.config.{js,cjs,mjs,ts,cts,mts}", // TypeDoc config
|
|
49
51
|
"**/typedoc.config.*.{js,cjs,mjs,ts,cts,mts}", // TypeDoc config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAyRE"}
|
package/dist/base/base-jsdoc.js
CHANGED
|
@@ -112,6 +112,8 @@ export const baseJSDoc = defineConfig({
|
|
|
112
112
|
],
|
|
113
113
|
/** Disabled because it is not needed in TypeScript. */
|
|
114
114
|
"jsdoc/no-undefined-types": "off",
|
|
115
|
+
"jsdoc/reject-any-type": "warn",
|
|
116
|
+
"jsdoc/reject-function-type": "warn",
|
|
115
117
|
"jsdoc/require-asterisk-prefix": "warn",
|
|
116
118
|
/** Disabled because it is overboard for every function to have a description. */
|
|
117
119
|
"jsdoc/require-description": "off",
|
|
@@ -128,12 +130,15 @@ export const baseJSDoc = defineConfig({
|
|
|
128
130
|
"jsdoc/require-hyphen-before-param-description": ["warn", "never"],
|
|
129
131
|
/** Disabled since it is overboard for every function to have a JSDoc comment. */
|
|
130
132
|
"jsdoc/require-jsdoc": "off",
|
|
133
|
+
"jsdoc/require-next-description": "warn",
|
|
131
134
|
"jsdoc/require-next-type": "warn",
|
|
135
|
+
"jsdoc/require-throws-description": "warn",
|
|
132
136
|
/**
|
|
133
137
|
* Disabled since in most cases, the type of a thrown error will simply be `Error`, making the
|
|
134
138
|
* annotation superfluous.
|
|
135
139
|
*/
|
|
136
140
|
"jsdoc/require-throws-type": "off",
|
|
141
|
+
"jsdoc/require-yields-description": "warn",
|
|
137
142
|
"jsdoc/require-yields-type": "warn",
|
|
138
143
|
/** Configured to only apply when there are one or more parameters. */
|
|
139
144
|
"jsdoc/require-param": [
|
|
@@ -182,6 +187,8 @@ export const baseJSDoc = defineConfig({
|
|
|
182
187
|
],
|
|
183
188
|
/** Disabled because it is not needed in TypeScript. */
|
|
184
189
|
"jsdoc/require-returns-type": "off",
|
|
190
|
+
/** Disabled since it is expected to be configured with project-specific keywords. */
|
|
191
|
+
"jsdoc/require-tags": "off",
|
|
185
192
|
/** Disabled because it is overboard to document every generic type variable. */
|
|
186
193
|
"jsdoc/require-template": "off",
|
|
187
194
|
/** Disabled because it is overboard to document every throw statement. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yGAikBE"}
|
|
@@ -23,10 +23,16 @@ export const baseTypeScriptESLint = defineConfig({
|
|
|
23
23
|
"babel.config.mjs",
|
|
24
24
|
"eslint.config.js",
|
|
25
25
|
"eslint.config.cjs",
|
|
26
|
+
"esbuild.config.js",
|
|
27
|
+
"esbuild.config.cjs",
|
|
28
|
+
"esbuild.config.mjs",
|
|
26
29
|
"eslint.config.mjs",
|
|
27
30
|
"eslint.config.ts",
|
|
28
31
|
"eslint.config.cts",
|
|
29
32
|
"eslint.config.mts",
|
|
33
|
+
"eslint-doc-generator.config.js",
|
|
34
|
+
"eslint-doc-generator.config.cjs",
|
|
35
|
+
"eslint-doc-generator.config.mjs",
|
|
30
36
|
"Gruntfile.js",
|
|
31
37
|
"Gruntfile.cjs",
|
|
32
38
|
"Gruntfile.mjs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -32,25 +32,25 @@
|
|
|
32
32
|
"lint": "tsx ./scripts/lint.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@stylistic/eslint-plugin": "5.
|
|
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
|
-
"eslint-plugin-complete": "1.1.
|
|
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": "
|
|
42
|
-
"eslint-plugin-n": "17.
|
|
41
|
+
"eslint-plugin-jsdoc": "60.0.0",
|
|
42
|
+
"eslint-plugin-n": "17.23.1",
|
|
43
43
|
"eslint-plugin-unicorn": "61.0.2",
|
|
44
44
|
"jsonc-eslint-parser": "2.4.0",
|
|
45
|
-
"typescript-eslint": "8.
|
|
45
|
+
"typescript-eslint": "8.44.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@eslint/js": "9.
|
|
48
|
+
"@eslint/js": "9.36.0",
|
|
49
49
|
"@types/confusing-browser-globals": "1.0.3",
|
|
50
50
|
"@types/eslint-config-prettier": "6.11.3",
|
|
51
|
-
"@types/node": "24.
|
|
51
|
+
"@types/node": "24.5.2",
|
|
52
52
|
"complete-common": "2.5.0",
|
|
53
|
-
"complete-node": "12.0.
|
|
53
|
+
"complete-node": "12.0.1",
|
|
54
54
|
"eslint-config-prettier": "10.1.8",
|
|
55
55
|
"extract-comments": "1.1.0",
|
|
56
56
|
"typescript": "5.9.2"
|