feat(typescript): Rule "type-annotation-spacing"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 00:13:43 +04:00
parent 4a5af3ad96
commit beb1b6ae55
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -409,7 +409,7 @@
- [X] "strict-boolean-expressions"
- [ ] "switch-exhaustiveness-check"
- [ ] "triple-slash-reference"
- [ ] "type-annotation-spacing"
- [X] "type-annotation-spacing"
- [ ] "typedef"
- [ ] "unbound-method"
- [ ] "unified-signatures"

View File

@ -101,6 +101,13 @@
"ignoreRhs": false
}
],
"@typescript-eslint/type-annotation-spacing": [
"error",
{
"after": true,
"before": false
}
],
"indent": [
"off"
],