summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:49:13 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:49:13 +0300
commita0d10caa644890ff8c765b8e99e4d3e525f2ea19 (patch)
treed873242bb987d3b3f3c8775c44a9f1e9854bd6a3 /src
parent0d76fb6495e82b1dbed0981246f272badd4dc98b (diff)
downloadeslint-config-a0d10caa644890ff8c765b8e99e4d3e525f2ea19.tar.xz
eslint-config-a0d10caa644890ff8c765b8e99e4d3e525f2ea19.zip
feat(eslint): Rule "comma-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-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 aad6552..b5f90ed 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -48,6 +48,13 @@
"before": false
}
],
+ "comma-style": [
+ "error",
+ "last",
+ {
+ "exceptions": {}
+ }
+ ],
"dot-notation": [
"error",
{