@tb-dev/eslint-config 5.4.13 → 5.4.15
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/index.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -747,7 +747,10 @@ async function typescript(options) {
|
|
|
747
747
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
748
748
|
"@typescript-eslint/switch-exhaustiveness-check": [
|
|
749
749
|
"error",
|
|
750
|
-
{
|
|
750
|
+
{
|
|
751
|
+
considerDefaultExhaustiveForUnions: true,
|
|
752
|
+
requireDefaultForNonUnion: true
|
|
753
|
+
}
|
|
751
754
|
],
|
|
752
755
|
"@typescript-eslint/unbound-method": "error",
|
|
753
756
|
"@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
|
package/dist/index.js
CHANGED
|
@@ -743,7 +743,10 @@ async function typescript(options) {
|
|
|
743
743
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
744
744
|
"@typescript-eslint/switch-exhaustiveness-check": [
|
|
745
745
|
"error",
|
|
746
|
-
{
|
|
746
|
+
{
|
|
747
|
+
considerDefaultExhaustiveForUnions: true,
|
|
748
|
+
requireDefaultForNonUnion: true
|
|
749
|
+
}
|
|
747
750
|
],
|
|
748
751
|
"@typescript-eslint/unbound-method": "error",
|
|
749
752
|
"@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.15",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.8.6",
|
|
34
|
-
"eslint": "^9.
|
|
34
|
+
"eslint": "^9.14.0",
|
|
35
35
|
"husky": "^9.1.6",
|
|
36
36
|
"prettier": "^3.3.3",
|
|
37
37
|
"tslib": "^2.8.1",
|