fix some unspecified rules
This commit is contained in:
parent
f312157cb6
commit
972e29f97a
28
index.js
28
index.js
@ -64,28 +64,28 @@ module.exports = {
|
||||
'no-caller': 'error',
|
||||
'no-case-declarations': 'error',
|
||||
'no-constructor-return': 'error',
|
||||
'no-div-regex': '', // disallow division operators explicitly at the beginning of regular expressions
|
||||
'no-else-return': 'error',
|
||||
'no-div-regex': 'error',
|
||||
'no-else-return': ['error', { allowElseIf: false }],
|
||||
'no-empty-function': 'error',
|
||||
'no-empty-pattern': 'error',
|
||||
'no-eq-null': '', // disallow `null` comparisons without type-checking operators
|
||||
'no-eval': 'error',
|
||||
'no-extend-native': '', // disallow extending native types
|
||||
'no-extra-bind': '', // disallow unnecessary calls to `.bind()`
|
||||
'no-extra-label': '', // disallow unnecessary labels
|
||||
'no-fallthrough': 'error',
|
||||
'no-floating-decimal': '', // disallow leading or trailing decimal points in numeric literals
|
||||
'no-eq-null': 'error',
|
||||
'no-eval': ['error', { allowIndirect: false }],
|
||||
'no-extend-native': 'error',
|
||||
'no-extra-bind': 'error',
|
||||
'no-extra-label': 'error',
|
||||
'no-fallthrough': ['error', { commentPattern: 'break[\\s\\w]*omitted' }],
|
||||
'no-floating-decimal': 'error',
|
||||
'no-global-assign': 'error',
|
||||
'no-implicit-coercion': '', // disallow shorthand type conversions
|
||||
'no-implicit-globals': '', // disallow declarations in the global scope
|
||||
'no-implicit-coercion': 'error',
|
||||
'no-implicit-globals': 'error',
|
||||
'no-implied-eval': 'error',
|
||||
'no-invalid-this': 'error',
|
||||
'no-iterator': 'error',
|
||||
'no-labels': '', // disallow labeled statements
|
||||
'no-labels': 'off',
|
||||
'no-lone-blocks': 'error',
|
||||
'no-loop-func': 'error',
|
||||
'no-magic-numbers': '', // disallow magic numbers
|
||||
'no-multi-spaces': '', // disallow multiple spaces
|
||||
'no-magic-numbers': ['error', { enforceConst: true, ignoreArrayIndexes: true, detectObjects: false }],
|
||||
'no-multi-spaces': 'error',
|
||||
'no-multi-str': 'error',
|
||||
'no-new': 'error',
|
||||
'no-new-func': '', // disallow `new` operators with the `Function` object
|
||||
|
Loading…
x
Reference in New Issue
Block a user