Skip to content

Commit

Permalink
Update the settings of the static analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 29, 2024
1 parent 4743bae commit b09a986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default ts.config(
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/return-await": "error",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/switch-exhaustiveness-check": ["error", {considerDefaultExhaustiveForUnions: true}],
"@typescript-eslint/typedef": "error"
}
},
Expand Down

0 comments on commit b09a986

Please sign in to comment.