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

Should ignore ternary tests.
This commit is contained in:
theoludwig committed 2023-07-18 23:06:31 +02:00
1 parent 4e99d69598
commit 6345bddd38
1 file changed
+1
+1
View File
@@ -320,6 +320,7 @@
"@typescript-eslint/prefer-nullish-coalescing": [
"error",
{
"ignoreTernaryTests": true,
"ignoreConditionalTests": false,
"ignoreMixedLogicalExpressions": false
}