ESLint: enforce no-extra-boolean-cast

https://eslint.org/docs/latest/rules/no-extra-boolean-cast
This commit is contained in:
Yury Bondarenko
2023-05-08 17:04:05 +02:00
parent 0f1ebfba62
commit ad4205073c

View File

@@ -106,13 +106,11 @@
], ],
"prefer-const": "error", "prefer-const": "error",
"no-case-declarations": "error", "no-case-declarations": "error",
"no-extra-boolean-cast": "error",
"prefer-spread": "off", "prefer-spread": "off",
"no-underscore-dangle": "off", "no-underscore-dangle": "off",
// todo: disabled rules from eslint:recommended, consider re-enabling & fixing
"no-prototype-builtins": "off", "no-prototype-builtins": "off",
"no-useless-escape": "off", "no-useless-escape": "off",
"no-extra-boolean-cast": "off",
"@angular-eslint/directive-selector": [ "@angular-eslint/directive-selector": [
"error", "error",