@crycode/eslint-config 2.1.2 → 2.2.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.
- package/README.md +5 -0
- package/configs/ts.js +7 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -59,6 +59,11 @@ If you habe multiple tsconfig files, add them all to `project` array:
|
|
|
59
59
|
Placeholder for the next version (at the beginning of the line):
|
|
60
60
|
### **WORK IN PROGRESS**
|
|
61
61
|
-->
|
|
62
|
+
### 2.2.0 (2024-11-27)
|
|
63
|
+
|
|
64
|
+
* Updated rule options for `@typescript-eslint/switch-exhaustiveness-check`
|
|
65
|
+
* Updated to latest `eslint` and `typescript-eslint`
|
|
66
|
+
|
|
62
67
|
### 2.1.2 (2024-10-16)
|
|
63
68
|
|
|
64
69
|
* Fixed TS types
|
package/configs/ts.js
CHANGED
|
@@ -228,7 +228,13 @@ export default [
|
|
|
228
228
|
'always',
|
|
229
229
|
],
|
|
230
230
|
|
|
231
|
-
'@typescript-eslint/switch-exhaustiveness-check':
|
|
231
|
+
'@typescript-eslint/switch-exhaustiveness-check': [
|
|
232
|
+
'warn',
|
|
233
|
+
{
|
|
234
|
+
considerDefaultExhaustiveForUnions: true,
|
|
235
|
+
requireDefaultForNonUnion: true,
|
|
236
|
+
},
|
|
237
|
+
],
|
|
232
238
|
|
|
233
239
|
'@typescript-eslint/unbound-method': 'off',
|
|
234
240
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crycode/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "ESLint configuration to be used with JavaScript or TypeScript according to my personal preferences",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"url": "https://github.com/crycode-de/eslint-config.git"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@eslint/js": "^9.
|
|
36
|
-
"@stylistic/eslint-plugin": "^2.
|
|
37
|
-
"@stylistic/eslint-plugin-js": "^2.
|
|
35
|
+
"@eslint/js": "^9.15.0",
|
|
36
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
|
37
|
+
"@stylistic/eslint-plugin-js": "^2.11.0",
|
|
38
38
|
"@types/eslint__js": "^8.42.3"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"eslint": "^9.
|
|
42
|
-
"typescript-eslint": "^8.
|
|
41
|
+
"eslint": "^9.15.0",
|
|
42
|
+
"typescript-eslint": "^8.16.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@alcalzone/release-script": "^3.8.0",
|
|
46
46
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
47
47
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.15.0"
|
|
49
49
|
}
|
|
50
50
|
}
|