summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:59:28 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:59:28 +0300
commitd1751228f2f845d59255ae17a78573f91fa6cd6e (patch)
tree96ee5bf4218753fbb986244994570736b3376625 /src/rules/default.json
parentd7fea402cf940e27be3f01ceeef1c8135ac43fb7 (diff)
downloadeslint-config-d1751228f2f845d59255ae17a78573f91fa6cd6e.tar.xz
eslint-config-d1751228f2f845d59255ae17a78573f91fa6cd6e.zip
feat(eslint): Rule "comma-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index ce5bbe1..52611ee 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -21,6 +21,13 @@
"error",
"always-multiline"
],
+ "comma-spacing": [
+ "error",
+ {
+ "after": true,
+ "before": false
+ }
+ ],
"eol-last": [
"error",
"always"