feat(typescript): space-before-function-paren

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-19 14:11:49 +04:00
parent f8b812927a
commit 621602e88b
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 12 additions and 1 deletions

View File

@ -460,7 +460,7 @@
- [ ] "restrict-template-expressions"
- [ ] "return-await"
- [X] "semi"
- [ ] "space-before-function-paren"
- [X] "space-before-function-paren"
- [X] "strict-boolean-expressions"
- [ ] "switch-exhaustiveness-check"
- [ ] "triple-slash-reference"

View File

@ -138,6 +138,14 @@
"omitLastInOneLineBlock": false
}
],
"@typescript-eslint/space-before-function-paren": [
"error",
{
"anonymous": "always",
"asyncArrow": "always",
"named": "never"
}
],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
@ -199,5 +207,8 @@
],
"semi": [
"off"
],
"space-before-function-paren": [
"off"
]
}