mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-05-18 12:02:33 +02:00
fix: relax @typescript-eslint/prefer-nullish-coalescing
Should ignore ternary tests.
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user