eslint-config-complete 1.6.4 → 1.6.6
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-unicorn.d.ts.map +1 -1
- package/dist/base/base-unicorn.js +5 -42
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8FAqLG"}
|
|
@@ -11,8 +11,8 @@ export const baseUnicorn = tseslint.config({
|
|
|
11
11
|
rules: {
|
|
12
12
|
"unicorn/better-regex": "warn",
|
|
13
13
|
"unicorn/catch-error-name": "warn",
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
"unicorn/consistent-assert": "warn",
|
|
15
|
+
"unicorn/consistent-date-clone": "warn",
|
|
16
16
|
/** Disabled because it has too many false positives. */
|
|
17
17
|
"unicorn/consistent-destructuring": "off",
|
|
18
18
|
"unicorn/consistent-empty-array-spread": "warn",
|
|
@@ -33,7 +33,7 @@ export const baseUnicorn = tseslint.config({
|
|
|
33
33
|
* single "eslint-disable" comment to make things more concise.
|
|
34
34
|
*/
|
|
35
35
|
"unicorn/no-abusive-eslint-disable": "off",
|
|
36
|
-
|
|
36
|
+
"unicorn/no-accessor-recursion": "warn",
|
|
37
37
|
"unicorn/no-anonymous-default-export": "warn",
|
|
38
38
|
/** Disabled since it is not helpful when using TypeScript. */
|
|
39
39
|
"unicorn/no-array-callback-reference": "off",
|
|
@@ -49,7 +49,7 @@ export const baseUnicorn = tseslint.config({
|
|
|
49
49
|
"unicorn/no-for-loop": "warn",
|
|
50
50
|
"unicorn/no-hex-escape": "warn",
|
|
51
51
|
"unicorn/no-instanceof-array": "warn",
|
|
52
|
-
|
|
52
|
+
"unicorn/no-instanceof-builtins": "warn",
|
|
53
53
|
"unicorn/no-invalid-fetch-options": "warn",
|
|
54
54
|
"unicorn/no-invalid-remove-event-listener": "warn",
|
|
55
55
|
/** Disabled because it is common to prefix variables with "new". */
|
|
@@ -62,7 +62,7 @@ export const baseUnicorn = tseslint.config({
|
|
|
62
62
|
"unicorn/no-nested-ternary": "off", // eslint-config-prettier
|
|
63
63
|
"unicorn/no-new-array": "warn",
|
|
64
64
|
"unicorn/no-new-buffer": "warn",
|
|
65
|
-
|
|
65
|
+
"unicorn/no-named-default": "warn",
|
|
66
66
|
"unicorn/no-null": "warn",
|
|
67
67
|
"unicorn/no-object-as-default-parameter": "warn",
|
|
68
68
|
/**
|
|
@@ -158,42 +158,5 @@ export const baseUnicorn = tseslint.config({
|
|
|
158
158
|
"unicorn/template-indent": "warn",
|
|
159
159
|
"unicorn/text-encoding-identifier-case": "warn",
|
|
160
160
|
"unicorn/throw-new-error": "warn",
|
|
161
|
-
// --------------------------------
|
|
162
|
-
// Deprecated rules; remove in v57.
|
|
163
|
-
// --------------------------------
|
|
164
|
-
/** Disabled because this rule is deprecated. */
|
|
165
|
-
"unicorn/import-index": "off",
|
|
166
|
-
/** Disabled because this rule is deprecated. */
|
|
167
|
-
"unicorn/no-array-instanceof": "off",
|
|
168
|
-
/** Disabled because this rule is deprecated. */
|
|
169
|
-
"unicorn/no-fn-reference-in-iterator": "off",
|
|
170
|
-
/** Disabled because this rule is deprecated. */
|
|
171
|
-
"unicorn/no-reduce": "off",
|
|
172
|
-
/** Disabled because this rule is deprecated. */
|
|
173
|
-
"unicorn/no-unsafe-regex": "off",
|
|
174
|
-
/** Disabled because this rule is deprecated. */
|
|
175
|
-
"unicorn/prefer-dataset": "off",
|
|
176
|
-
/** Disabled because this rule is deprecated. */
|
|
177
|
-
"unicorn/prefer-event-key": "off",
|
|
178
|
-
/** Disabled because this rule is deprecated. */
|
|
179
|
-
"unicorn/prefer-exponentiation-operator": "off",
|
|
180
|
-
/** Disabled because this rule is deprecated. */
|
|
181
|
-
"unicorn/prefer-flat-map": "off",
|
|
182
|
-
/** Disabled because this rule is deprecated. */
|
|
183
|
-
"unicorn/prefer-node-append": "off",
|
|
184
|
-
/** Disabled because this rule is deprecated. */
|
|
185
|
-
"unicorn/prefer-node-remove": "off",
|
|
186
|
-
/** Disabled because this rule is deprecated. */
|
|
187
|
-
"unicorn/prefer-object-has-own": "off",
|
|
188
|
-
/** Disabled because this rule is deprecated. */
|
|
189
|
-
"unicorn/prefer-replace-all": "off",
|
|
190
|
-
/** Disabled because this rule is deprecated. */
|
|
191
|
-
"unicorn/prefer-starts-ends-with": "off",
|
|
192
|
-
/** Disabled because this rule is deprecated. */
|
|
193
|
-
"unicorn/prefer-text-content": "off",
|
|
194
|
-
/** Disabled because this rule is deprecated. */
|
|
195
|
-
"unicorn/prefer-trim-start-end": "off",
|
|
196
|
-
/** Disabled because this rule is deprecated. */
|
|
197
|
-
"unicorn/regex-shorthand": "off",
|
|
198
161
|
},
|
|
199
162
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
"lint": "tsx ./scripts/lint.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@stylistic/eslint-plugin": "4.
|
|
38
|
+
"@stylistic/eslint-plugin": "4.2.0",
|
|
39
39
|
"confusing-browser-globals": "1.0.11",
|
|
40
40
|
"eslint-import-resolver-typescript": "3.8.3",
|
|
41
|
-
"eslint-plugin-complete": "1.0.
|
|
41
|
+
"eslint-plugin-complete": "1.0.13",
|
|
42
42
|
"eslint-plugin-import-x": "4.6.1",
|
|
43
43
|
"eslint-plugin-jsdoc": "50.6.3",
|
|
44
44
|
"eslint-plugin-n": "17.15.1",
|
|
45
|
-
"eslint-plugin-unicorn": "
|
|
46
|
-
"typescript-eslint": "8.
|
|
45
|
+
"eslint-plugin-unicorn": "57.0.0",
|
|
46
|
+
"typescript-eslint": "8.26.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@eslint/js": "9.
|
|
49
|
+
"@eslint/js": "9.22.0",
|
|
50
50
|
"@types/confusing-browser-globals": "1.0.3",
|
|
51
51
|
"@types/eslint-config-prettier": "6.11.3",
|
|
52
|
-
"@types/node": "22.13.
|
|
53
|
-
"complete-common": "
|
|
54
|
-
"complete-node": "
|
|
55
|
-
"eslint-config-prettier": "10.
|
|
52
|
+
"@types/node": "22.13.10",
|
|
53
|
+
"complete-common": "2.0.0",
|
|
54
|
+
"complete-node": "5.1.2",
|
|
55
|
+
"eslint-config-prettier": "10.1.1",
|
|
56
56
|
"extract-comments": "1.1.0",
|
|
57
|
-
"typescript": "5.
|
|
57
|
+
"typescript": "5.8.2"
|
|
58
58
|
}
|
|
59
59
|
}
|