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"
|
- [ ] "switch-exhaustiveness-check"
|
||||||
- [ ] "triple-slash-reference"
|
- [ ] "triple-slash-reference"
|
||||||
- [X] "type-annotation-spacing"
|
- [X] "type-annotation-spacing"
|
||||||
- [ ] "typedef"
|
- [X] "typedef"
|
||||||
- [ ] "unbound-method"
|
- [ ] "unbound-method"
|
||||||
- [ ] "unified-signatures"
|
- [ ] "unified-signatures"
|
||||||
|
@ -108,6 +108,18 @@
|
|||||||
"before": false
|
"before": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/typedef": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"arrayDestructuring": true,
|
||||||
|
"arrowParameter": true,
|
||||||
|
"memberVariableDeclaration": true,
|
||||||
|
"objectDestructuring": true,
|
||||||
|
"parameter": true,
|
||||||
|
"propertyDeclaration": true,
|
||||||
|
"variableDeclaration": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user