diff options
Diffstat (limited to 'src/rules/default.json')
-rw-r--r-- | src/rules/default.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json index 71e824c..79cb99b 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -549,5 +549,13 @@ { "requireStringLiterals": true } + ], + "yoda": [ + "error", + "never", + { + "exceptRange": false, + "onlyEquality": false + } ] } |