Linting for unhandled promises
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
This commit is contained in:
parent
874b78c19f
commit
3f9f854e7d
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
// TO FIX:
|
// TO FIX:
|
||||||
"import/no-cycle": "off", // pathpidia issue
|
"import/no-cycle": "off", // pathpidia issue
|
||||||
"import/prefer-default-export": "off"
|
"import/prefer-default-export": "off",
|
||||||
|
"@typescript-eslint/no-misused-promises": ["error"],
|
||||||
|
"@typescript-eslint/no-floating-promises": ["error"]
|
||||||
|
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"import/parsers": {
|
"import/parsers": {
|
||||||
|
|
Loading…
Reference in a new issue