feat(typescript): no-misused-promises
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
5c7fa64f19
commit
f8e6286350
@ -421,7 +421,7 @@
|
||||
- [X] "no-inferrable-types"
|
||||
- [X] "no-magic-numbers"
|
||||
- [ ] "no-misused-new"
|
||||
- [ ] "no-misused-promises"
|
||||
- [X] "no-misused-promises"
|
||||
- [X] "no-namespace"
|
||||
- [ ] "no-non-null-asserted-optional-chain"
|
||||
- [ ] "no-non-null-assertion"
|
||||
|
@ -70,6 +70,13 @@
|
||||
"ignoreReadonlyClassProperties": true
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-misused-promises": [
|
||||
"error",
|
||||
{
|
||||
"checksConditionals": true,
|
||||
"checksVoidReturn": false
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-namespace": [
|
||||
"error",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user