fix yoda
This commit is contained in:
parent
be41f53508
commit
8900dd242b
2
index.js
2
index.js
@ -102,7 +102,7 @@ module.exports = {
|
||||
'require-unicode-regexp': 'error',
|
||||
'vars-on-top': 'error',
|
||||
'wrap-iife': ['error', 'inside'],
|
||||
yoda: ['error', 'always', { exceptRange: true }],
|
||||
yoda: ['error', 'never', { exceptRange: true }],
|
||||
|
||||
// Strict Mode https://eslint.org/docs/rules/#strict-mode
|
||||
strict: ['error', 'safe'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user