Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit f5d1a33

Browse files
committed
Add @typescript-eslint/strict-void-return rule
https://typescript-eslint.io/rules/strict-void-return/
1 parent 117f6a9 commit f5d1a33

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ const rules = {
630630
// }
631631
// ],
632632

633+
'@typescript-eslint/strict-void-return': 'error',
633634
'default-case': 'off', // It conflicts with `@typescript-eslint/switch-exhaustiveness-check`. It would still be nice to have this rule for non-exhaustive switches though.
634635
'@typescript-eslint/switch-exhaustiveness-check': [
635636
'error',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"dependencies": {
5353
"@stylistic/eslint-plugin": "^5.2.3",
5454
"eslint-config-xo": "^0.49.0",
55-
"typescript-eslint": "^8.50.0"
55+
"typescript-eslint": "^8.53.0"
5656
},
5757
"devDependencies": {
5858
"ava": "^6.4.1",

0 commit comments

Comments
 (0)