diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/default.json | 6 |
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", { |