aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index dc3a90a..7a6f64b 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -254,6 +254,12 @@
"enforceInMethodNames": false
}
],
+ "no-unneeded-ternary": [
+ "error",
+ {
+ "defaultAssignment": true
+ }
+ ],
"no-unused-vars": [
"error",
{