eslint-config-complete 1.2.10 → 1.3.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.
|
@@ -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,uGA+gBE"}
|
|
@@ -400,13 +400,16 @@ export const baseTypeScriptESLint = tseslint.config({
|
|
|
400
400
|
],
|
|
401
401
|
/**
|
|
402
402
|
* The `allowDefaultCaseForExhaustiveSwitch` option is disabled and the
|
|
403
|
-
* `requireDefaultForNonUnion` option is enabled to make the rule stricter.
|
|
403
|
+
* `requireDefaultForNonUnion` option is enabled to make the rule stricter. The
|
|
404
|
+
* `considerDefaultExhaustiveForUnions` option is enabled since it is not intended to be used
|
|
405
|
+
* when `allowDefaultCaseForExhaustiveSwitch` is disabled.
|
|
404
406
|
*/
|
|
405
407
|
"@typescript-eslint/switch-exhaustiveness-check": [
|
|
406
408
|
"warn",
|
|
407
409
|
{
|
|
408
410
|
allowDefaultCaseForExhaustiveSwitch: false,
|
|
409
411
|
requireDefaultForNonUnion: true,
|
|
412
|
+
considerDefaultExhaustiveForUnions: true,
|
|
410
413
|
},
|
|
411
414
|
],
|
|
412
415
|
"@typescript-eslint/triple-slash-reference": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
"lint": "tsx ./scripts/lint.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@stylistic/eslint-plugin": "^2.
|
|
38
|
+
"@stylistic/eslint-plugin": "^2.10.1",
|
|
39
39
|
"confusing-browser-globals": "^1.0.11",
|
|
40
40
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
41
41
|
"eslint-plugin-complete": "^1.0.8",
|
|
42
|
-
"eslint-plugin-import-x": "^4.
|
|
42
|
+
"eslint-plugin-import-x": "^4.4.0",
|
|
43
43
|
"eslint-plugin-jsdoc": "^50.4.3",
|
|
44
|
-
"eslint-plugin-n": "^17.
|
|
44
|
+
"eslint-plugin-n": "^17.13.1",
|
|
45
45
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
46
|
-
"typescript-eslint": "^8.
|
|
46
|
+
"typescript-eslint": "^8.13.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@eslint/js": "^9.
|
|
49
|
+
"@eslint/js": "^9.14.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.
|
|
54
|
-
"complete-common": "^1.0.
|
|
55
|
-
"complete-node": "^1.
|
|
53
|
+
"@types/node": "^22.9.0",
|
|
54
|
+
"complete-common": "^1.0.1",
|
|
55
|
+
"complete-node": "^1.7.4",
|
|
56
56
|
"eslint-config-prettier": "^9.1.0",
|
|
57
57
|
"extract-comments": "^1.1.0",
|
|
58
58
|
"typescript": "^5.6.3"
|