1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-12-18 21:45:04 +01:00

feat: add @typescript-eslint/no-unnecessary-condition

BREAKING CHANGE: New rule introduced
This commit is contained in:
Théo LUDWIG 2024-09-25 18:02:43 +02:00
parent 6af4b4f6ac
commit 12f37d01b3
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -228,6 +228,12 @@
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-unnecessary-template-expression": "error",
"@typescript-eslint/no-unnecessary-condition": [
"error",
{
"allowConstantLoopConditions": true
}
],
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": [