mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-07-12 15:40:12 +02:00
fix: relax @typescript-eslint/prefer-nullish-coalescing
Should ignore ternary tests.
This commit is contained in:
parent
4e99d69598
commit
6345bddd38
|
@ -320,6 +320,7 @@
|
|||
"@typescript-eslint/prefer-nullish-coalescing": [
|
||||
"error",
|
||||
{
|
||||
"ignoreTernaryTests": true,
|
||||
"ignoreConditionalTests": false,
|
||||
"ignoreMixedLogicalExpressions": false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user