add no misused promises rule
This commit is contained in:
parent
00911c6055
commit
e686db0571
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
"@typescript-eslint/naming-convention": "off",
|
"@typescript-eslint/naming-convention": "off",
|
||||||
"@typescript-eslint/no-floating-promises": "warn",
|
"@typescript-eslint/no-floating-promises": "warn",
|
||||||
"@typescript-eslint/semi": "warn",
|
"@typescript-eslint/semi": "warn",
|
||||||
|
"@typescript-eslint/no-misused-promises": "error",
|
||||||
"curly": "warn",
|
"curly": "warn",
|
||||||
"eqeqeq": "warn",
|
"eqeqeq": "warn",
|
||||||
"no-throw-literal": "warn",
|
"no-throw-literal": "warn",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue