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/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": [
"error",
{
"ignoreTernaryTests": true,
"ignoreConditionalTests": false,
"ignoreMixedLogicalExpressions": false
}