feat(typescript): Rule "typedef"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
beb1b6ae55
commit
8618ceaeeb
@ -410,6 +410,6 @@
|
||||
- [ ] "switch-exhaustiveness-check"
|
||||
- [ ] "triple-slash-reference"
|
||||
- [X] "type-annotation-spacing"
|
||||
- [ ] "typedef"
|
||||
- [X] "typedef"
|
||||
- [ ] "unbound-method"
|
||||
- [ ] "unified-signatures"
|
||||
|
@ -108,6 +108,18 @@
|
||||
"before": false
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/typedef": [
|
||||
"error",
|
||||
{
|
||||
"arrayDestructuring": true,
|
||||
"arrowParameter": true,
|
||||
"memberVariableDeclaration": true,
|
||||
"objectDestructuring": true,
|
||||
"parameter": true,
|
||||
"propertyDeclaration": true,
|
||||
"variableDeclaration": true
|
||||
}
|
||||
],
|
||||
"indent": [
|
||||
"off"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user