1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-08-05 10:08:27 +02:00

fix: relax @typescript-eslint/prefer-nullish-coalescing

Should ignore ternary tests.
This commit is contained in:
Théo LUDWIG 2023-07-18 23:06:31 +02:00
parent 4e99d69598
commit 6345bddd38
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -320,6 +320,7 @@
"@typescript-eslint/prefer-nullish-coalescing": [ "@typescript-eslint/prefer-nullish-coalescing": [
"error", "error",
{ {
"ignoreTernaryTests": true,
"ignoreConditionalTests": false, "ignoreConditionalTests": false,
"ignoreMixedLogicalExpressions": false "ignoreMixedLogicalExpressions": false
} }