feat(typescript): Rule "require-await"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
c59ed2364d
commit
1155911243
@ -400,7 +400,7 @@
|
|||||||
- [ ] "promise-function-async"
|
- [ ] "promise-function-async"
|
||||||
- [X] "quotes"
|
- [X] "quotes"
|
||||||
- [ ] "require-array-sort-compare"
|
- [ ] "require-array-sort-compare"
|
||||||
- [ ] "require-await"
|
- [X] "require-await"
|
||||||
- [ ] "restrict-plus-operands"
|
- [ ] "restrict-plus-operands"
|
||||||
- [ ] "restrict-template-expressions"
|
- [ ] "restrict-template-expressions"
|
||||||
- [ ] "return-await"
|
- [ ] "return-await"
|
||||||
|
@ -54,6 +54,9 @@
|
|||||||
"avoidEscape": false
|
"avoidEscape": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/require-await": [
|
||||||
|
"warn"
|
||||||
|
],
|
||||||
"@typescript-eslint/semi": [
|
"@typescript-eslint/semi": [
|
||||||
"error",
|
"error",
|
||||||
"always",
|
"always",
|
||||||
@ -75,6 +78,9 @@
|
|||||||
"quotes": [
|
"quotes": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"require-await": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
"semi": [
|
"semi": [
|
||||||
"off"
|
"off"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user