2023-05-07 03:09:36 +02:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true
|
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module',
|
|
|
|
project: 'tsconfig.json'
|
|
|
|
},
|
2023-11-28 23:48:34 +01:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: ['@typescript-eslint'],
|
|
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
|
|
|
root: true,
|
2023-05-07 03:09:36 +02:00
|
|
|
rules: {
|
|
|
|
indent: ['error', 4, { SwitchCase: 1 }],
|
|
|
|
},
|
|
|
|
settings: {
|
|
|
|
'import/resolver': {
|
|
|
|
typescript: {
|
|
|
|
project: [
|
|
|
|
'tsconfig.json'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|