eslint: prefer-const

This commit is contained in:
Ralf Vogler 2024-03-07 13:47:58 +01:00
parent 285c7a44fd
commit 6f06fccd46
2 changed files with 2 additions and 1 deletions

View file

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