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

fix: relax @typescript-eslint/no-unnecessary-condition

This commit is contained in:
Théo LUDWIG 2024-10-22 11:47:11 +02:00
parent 57f419c44a
commit 8efe22c23e
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -331,13 +331,6 @@ export default typescriptESLint.config(
"@typescript-eslint/no-useless-constructor": "error", "@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-unnecessary-template-expression": "error", "@typescript-eslint/no-unnecessary-template-expression": "error",
"@typescript-eslint/no-unnecessary-condition": [
"error",
{
allowConstantLoopConditions: true,
},
],
"@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": [ "@typescript-eslint/array-type": [