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:
parent
4e99d69598
commit
6345bddd38
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user