diff --git a/eslintrc.json b/eslintrc.json index 296efdb5..2c786131 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -99,7 +99,7 @@ "no-undef": 2, "no-undef-init": 2, "no-unexpected-multiline": 2, - "no-unneeded-ternary": 2, + "no-unneeded-ternary": [2, { "defaultAssignment": false }], "no-unreachable": 2, "no-unused-vars": [2, { "vars": "all", "args": "none" }], "no-useless-call": 2,