feat(typescript): Rule "typedef"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-14 00:21:09 +04:00
1 parent beb1b6ae55
commit 8618ceaeeb
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -410,6 +410,6 @@
- [ ] "switch-exhaustiveness-check"
- [ ] "triple-slash-reference"
- [X] "type-annotation-spacing"
- [ ] "typedef"
- [X] "typedef"
- [ ] "unbound-method"
- [ ] "unified-signatures"
+12
View File
@@ -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"
],