bw-hspc-contest-env/web/.eslintrc.cjs

31 lines
543 B
JavaScript
Raw Normal View History

2023-04-26 12:20:01 -04:00
module.exports = {
root: true,
2023-08-23 22:06:53 -04:00
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
2023-04-26 12:20:01 -04:00
parser: '@typescript-eslint/parser',
2023-08-23 22:06:53 -04:00
plugins: ['@typescript-eslint'],
2023-04-26 12:20:01 -04:00
parserOptions: {
sourceType: 'module',
2023-08-23 22:06:53 -04:00
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
2023-04-26 12:20:01 -04:00
},
env: {
browser: true,
es2017: true,
node: true
2023-08-23 22:06:53 -04:00
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
2023-04-26 12:20:01 -04:00
};