2021-08-18 20:50:31 +05:30
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
extends: [
|
2021-08-18 22:22:06 +05:30
|
|
|
// "plugin:@typescript-eslint/recommended",
|
|
|
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
2021-08-18 20:50:31 +05:30
|
|
|
],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
"ecmaVersion": 2020,
|
|
|
|
"sourceType": "module",
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
'@typescript-eslint',
|
|
|
|
],
|
2021-08-18 22:22:06 +05:30
|
|
|
rules: {
|
|
|
|
"@typescript-eslint/no-floating-promises": 2,
|
|
|
|
"@typescript-eslint/no-misused-promises": 2
|
|
|
|
}
|
2021-08-18 20:50:31 +05:30
|
|
|
};
|