1
1
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:
Théo LUDWIG 2025-02-22 23:43:23 +01:00
parent 31ab3e70a8
commit 657b9a4bad
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -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",
{ {