eslint: prefer-const
This commit is contained in:
parent
285c7a44fd
commit
6f06fccd46
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ export default [
|
|||
// https://eslint.style/packages/js
|
||||
rules: {
|
||||
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||||
'prefer-const': 'error',
|
||||
'@stylistic/js/array-bracket-newline': ['error', 'consistent'],
|
||||
'@stylistic/js/array-bracket-spacing': 'error',
|
||||
'@stylistic/js/array-element-newline': ['error', 'consistent'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue