summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:43:28 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:43:28 +0300
commit18c9632298a68dbb68430e8fb02bcc4cb3f6f644 (patch)
treeb10867162e1ec940f3cc2976c8e21c26ce83bc1e /src
parentff60ccfbd9c8dbb9a3224e476ebc1f48b85208fc (diff)
downloadeslint-config-18c9632298a68dbb68430e8fb02bcc4cb3f6f644.tar.xz
eslint-config-18c9632298a68dbb68430e8fb02bcc4cb3f6f644.zip
feat(typescript): comma-spacing
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json10
1 files changed, 10 insertions, 0 deletions
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"
],