mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-02-23 01:01:31 +01:00
feat: add no-extra-boolean-cast
BREAKING CHANGE: New rule introduced
This commit is contained in:
parent
31ab3e70a8
commit
657b9a4bad
@ -133,6 +133,7 @@ export default typescriptESLint.config(
|
|||||||
"no-caller": "error",
|
"no-caller": "error",
|
||||||
"no-delete-var": "error",
|
"no-delete-var": "error",
|
||||||
"no-implicit-coercion": "error",
|
"no-implicit-coercion": "error",
|
||||||
|
"no-extra-boolean-cast": ["error", { enforceForInnerExpressions: true }],
|
||||||
"no-empty": [
|
"no-empty": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user