eslint-config-complete 3.1.0 → 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":"
|
|
1
|
+
{"version":3,"file":"base-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-eslint.js"],"names":[],"mappings":"AA6mBA;;;;;;;;GAQG;AACH,+FAMG"}
|
package/dist/base/base-eslint.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
*
|
|
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",
|
|
@@ -248,11 +248,11 @@ export const baseImportX = defineConfig({
|
|
|
248
248
|
"docusaurus.config.js",
|
|
249
249
|
"docusaurus.config.ts",
|
|
250
250
|
"eslint.config.js",
|
|
251
|
-
"eslint.config.cjs",
|
|
252
251
|
"eslint.config.mjs",
|
|
253
252
|
"eslint.config.ts",
|
|
254
|
-
"eslint.config.cts",
|
|
255
253
|
"eslint.config.mts",
|
|
254
|
+
"eslint-doc-generator.config.js",
|
|
255
|
+
"eslint-doc-generator.config.mjs",
|
|
256
256
|
"jest.config.js",
|
|
257
257
|
"jest.config.mjs",
|
|
258
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,
|
|
1
|
+
{"version":3,"file":"base-jsdoc.d.ts","sourceRoot":"","sources":["../../src/base/base-jsdoc.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAqSE"}
|
package/dist/base/base-jsdoc.js
CHANGED
|
@@ -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
|
|
@@ -205,6 +212,10 @@ export const baseJSDoc = defineConfig({
|
|
|
205
212
|
* JSDoc comments to Markdown).
|
|
206
213
|
*/
|
|
207
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",
|
|
208
219
|
"jsdoc/type-formatting": "warn",
|
|
209
220
|
/** Disabled because it is not needed in TypeScript. */
|
|
210
221
|
"jsdoc/valid-types": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -38,22 +38,22 @@
|
|
|
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": "
|
|
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.
|
|
45
|
-
"typescript-eslint": "8.
|
|
44
|
+
"jsonc-eslint-parser": "2.4.1",
|
|
45
|
+
"typescript-eslint": "8.46.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@eslint/js": "9.
|
|
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.
|
|
52
|
-
"complete-common": "2.
|
|
53
|
-
"complete-node": "12.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.
|
|
56
|
+
"typescript": "5.9.3"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"eslint": ">= 9.0.0"
|