From 8618ceaeeb7c1736d34db140acf576675be4786c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 00:21:09 +0400 Subject: feat(typescript): Rule "typedef" Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/rules') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 3c10f32..60fb3f6 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -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" ], -- cgit v1.2.3