Skip to content

Commit

Permalink
Update @typescript-eslint to v6.17.0
Browse files Browse the repository at this point in the history
- Disable the `allowDefaultCaseForExhaustiveSwitch` option for the `@typescript-eslint/switch-exhaustiveness-check` rule.
  • Loading branch information
amikheychik committed Jan 2, 2024
1 parent 6380e33 commit 4180337
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 58 deletions.
129 changes: 77 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
},
"peerDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/eslint-plugin-tslint": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/eslint-plugin-tslint": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-array-func": "^4.0.0",
Expand Down Expand Up @@ -83,9 +83,9 @@
"@babel/eslint-parser": "^7.23.3",
"@perfective/build": "~0.11.1",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/eslint-plugin-tslint": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"@typescript-eslint/eslint-plugin": "6.17.0",
"@typescript-eslint/eslint-plugin-tslint": "6.17.0",
"@typescript-eslint/parser": "6.17.0",
"eslint": "8.56.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-array-func": "4.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/rules/typescript-eslint/supported-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export = {
allowAny: false,
}],
'@typescript-eslint/switch-exhaustiveness-check': ['error', {
allowDefaultCaseForExhaustiveSwitch: false,
requireDefaultForNonUnion: true,
}],
'@typescript-eslint/triple-slash-reference': ['error', {
Expand Down

0 comments on commit 4180337

Please sign in to comment.