Additional tweaks
This commit is contained in:
@@ -22,5 +22,22 @@ export default [
|
||||
'prefer-const': 'warn'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['static/**/*.js'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'module',
|
||||
globals: {
|
||||
window: 'readonly',
|
||||
document: 'readonly',
|
||||
localStorage: 'readonly'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
|
||||
'prefer-const': 'warn'
|
||||
}
|
||||
},
|
||||
prettierConfig
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user