forked from mystiq/hydrogen-web
only enable promise related rules ... I think?
This commit is contained in:
parent
eb06629385
commit
073743927d
1 changed files with 6 additions and 3 deletions
|
@ -5,8 +5,8 @@ module.exports = {
|
||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"plugin:@typescript-eslint/recommended",
|
// "plugin:@typescript-eslint/recommended",
|
||||||
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||||
],
|
],
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
@ -17,5 +17,8 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
'@typescript-eslint',
|
'@typescript-eslint',
|
||||||
],
|
],
|
||||||
rules: {}
|
rules: {
|
||||||
|
"@typescript-eslint/no-floating-promises": 2,
|
||||||
|
"@typescript-eslint/no-misused-promises": 2
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue