2021-08-18 17:20:31 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
extends: [
|
2021-08-18 18:52:06 +02:00
|
|
|
// "plugin:@typescript-eslint/recommended",
|
|
|
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
2021-08-18 17:20:31 +02:00
|
|
|
],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
"ecmaVersion": 2020,
|
|
|
|
"sourceType": "module",
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
'@typescript-eslint',
|
|
|
|
],
|
2021-08-18 18:52:06 +02:00
|
|
|
rules: {
|
|
|
|
"@typescript-eslint/no-floating-promises": 2,
|
2022-07-01 03:20:13 +02:00
|
|
|
"@typescript-eslint/no-misused-promises": 2,
|
|
|
|
"semi": ["error", "always"]
|
2021-08-18 18:52:06 +02:00
|
|
|
}
|
2021-08-18 17:20:31 +02:00
|
|
|
};
|