eslint: prefer-const, no-loop-func, no-const-assign, no-var

This commit is contained in:
Alex Gleason
2021-08-03 12:10:42 -05:00
parent 249c76ffaa
commit a310197a5a
53 changed files with 136 additions and 136 deletions

View File

@ -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'],