We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typescript-eslint/no-unsafe-enum-comparison
1 parent a2ff2db commit d03173eCopy full SHA for d03173e
configurations/typescript/rules/typescript.js
@@ -509,6 +509,10 @@ module.exports = {
509
// https://typescript-eslint.io/rules/no-unsafe-declaration-merging
510
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
511
512
+ // Disallow comparing an enum value with a non-enum value
513
+ // https://typescript-eslint.io/rules/no-unsafe-enum-comparison
514
+ '@typescript-eslint/no-unsafe-enum-comparison': 'error',
515
+
516
// Disallows member access on any typed variables
517
// https://typescript-eslint.io/rules/no-unsafe-member-access
518
'@typescript-eslint/no-unsafe-member-access': 'off',
0 commit comments