eslint-config-complete 1.3.0 → 1.3.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-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,uGAuhBE"}
|
|
@@ -272,6 +272,11 @@ export const baseTypeScriptESLint = tseslint.config({
|
|
|
272
272
|
"@typescript-eslint/no-unsafe-function-type": "warn",
|
|
273
273
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
|
274
274
|
"@typescript-eslint/no-unsafe-return": "warn",
|
|
275
|
+
/**
|
|
276
|
+
* Disabled because this rule causes too many false positives. The rule prevents a narrowing
|
|
277
|
+
* type assertion, but often times this is precisely the point of the assertion.
|
|
278
|
+
*/
|
|
279
|
+
"@typescript-eslint/no-unsafe-type-assertion": "off",
|
|
275
280
|
"@typescript-eslint/no-unsafe-unary-minus": "warn",
|
|
276
281
|
/**
|
|
277
282
|
* The `allowTaggedTemplates` option is enabled to allow the rule to work with libraries like
|
|
@@ -359,6 +364,7 @@ export const baseTypeScriptESLint = tseslint.config({
|
|
|
359
364
|
"@typescript-eslint/prefer-string-starts-ends-with": "warn",
|
|
360
365
|
"@typescript-eslint/prefer-ts-expect-error": "warn",
|
|
361
366
|
"@typescript-eslint/promise-function-async": "warn",
|
|
367
|
+
"@typescript-eslint/related-getter-setter-pairs": "warn",
|
|
362
368
|
"@typescript-eslint/require-array-sort-compare": "warn",
|
|
363
369
|
"@typescript-eslint/require-await": "warn",
|
|
364
370
|
/** The various "allow" options are disabled to make the rule stricter. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"lint": "tsx ./scripts/lint.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@stylistic/eslint-plugin": "^2.
|
|
38
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
|
39
39
|
"confusing-browser-globals": "^1.0.11",
|
|
40
|
-
"eslint-import-resolver-typescript": "^3.
|
|
40
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
41
41
|
"eslint-plugin-complete": "^1.0.8",
|
|
42
|
-
"eslint-plugin-import-x": "^4.
|
|
43
|
-
"eslint-plugin-jsdoc": "^50.
|
|
44
|
-
"eslint-plugin-n": "^17.
|
|
45
|
-
"eslint-plugin-unicorn": "^56.0.
|
|
46
|
-
"typescript-eslint": "^8.
|
|
42
|
+
"eslint-plugin-import-x": "^4.5.0",
|
|
43
|
+
"eslint-plugin-jsdoc": "^50.6.0",
|
|
44
|
+
"eslint-plugin-n": "^17.14.0",
|
|
45
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
46
|
+
"typescript-eslint": "^8.17.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@eslint/js": "^9.
|
|
49
|
+
"@eslint/js": "^9.16.0",
|
|
50
50
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
51
51
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
52
52
|
"@types/eslint__js": "^8.42.3",
|
|
53
|
-
"@types/node": "^22.
|
|
53
|
+
"@types/node": "^22.10.1",
|
|
54
54
|
"complete-common": "^1.0.1",
|
|
55
55
|
"complete-node": "^1.7.4",
|
|
56
56
|
"eslint-config-prettier": "^9.1.0",
|
|
57
57
|
"extract-comments": "^1.1.0",
|
|
58
|
-
"typescript": "^5.
|
|
58
|
+
"typescript": "^5.7.2"
|
|
59
59
|
}
|
|
60
60
|
}
|