eslint: prefer-const, no-loop-func, no-const-assign, no-var
This commit is contained in:
@ -105,6 +105,10 @@ module.exports = {
|
||||
semi: 'error',
|
||||
strict: 'off',
|
||||
'valid-typeof': 'error',
|
||||
'prefer-const': 'error',
|
||||
'no-loop-func': 'error',
|
||||
'no-const-assign': 'error',
|
||||
'no-var': 'error',
|
||||
|
||||
'react/jsx-boolean-value': 'error',
|
||||
'react/jsx-closing-bracket-location': ['error', 'line-aligned'],
|
||||
|
||||
Reference in New Issue
Block a user