From 18c9632298a68dbb68430e8fb02bcc4cb3f6f644 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:43:28 +0400 Subject: feat(typescript): comma-spacing Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index e888c02..a5c0937 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -2,6 +2,13 @@ "@typescript-eslint/await-thenable": [ "error" ], + "@typescript-eslint/comma-spacing": [ + "error", + { + "after": true, + "before": false + } + ], "@typescript-eslint/indent": [ "error", "tab", @@ -172,6 +179,9 @@ "variableDeclaration": true } ], + "comma-spacing": [ + "off" + ], "indent": [ "off" ], -- cgit v1.2.3