feat(typescript): Rule "type-annotation-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
4a5af3ad96
commit
beb1b6ae55
@ -409,7 +409,7 @@
|
|||||||
- [X] "strict-boolean-expressions"
|
- [X] "strict-boolean-expressions"
|
||||||
- [ ] "switch-exhaustiveness-check"
|
- [ ] "switch-exhaustiveness-check"
|
||||||
- [ ] "triple-slash-reference"
|
- [ ] "triple-slash-reference"
|
||||||
- [ ] "type-annotation-spacing"
|
- [X] "type-annotation-spacing"
|
||||||
- [ ] "typedef"
|
- [ ] "typedef"
|
||||||
- [ ] "unbound-method"
|
- [ ] "unbound-method"
|
||||||
- [ ] "unified-signatures"
|
- [ ] "unified-signatures"
|
||||||
|
@ -101,6 +101,13 @@
|
|||||||
"ignoreRhs": false
|
"ignoreRhs": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/type-annotation-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user