From beb1b6ae5522ff25b6a35c447836fa0925c97e6b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 00:13:43 +0400 Subject: feat(typescript): Rule "type-annotation-spacing" Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/rules') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 26bd453..3c10f32 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -101,6 +101,13 @@ "ignoreRhs": false } ], + "@typescript-eslint/type-annotation-spacing": [ + "error", + { + "after": true, + "before": false + } + ], "indent": [ "off" ], -- cgit v1.2.3