aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:42:49 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:42:49 +0300
commit2529229c18cc9ef46f77759d92bf54639339735d (patch)
treecc441f9c1792132dacfc6f78a8290807e6c52251 /src
parent3ed46834aa96d614526e69d5441550c21d149ded (diff)
downloadeslint-config-2529229c18cc9ef46f77759d92bf54639339735d.tar.xz
eslint-config-2529229c18cc9ef46f77759d92bf54639339735d.zip
feat(eslint): Rule "keyword-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index cb5c18b..caa810f 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -67,6 +67,13 @@
"mode": "strict"
}
],
+ "keyword-spacing": [
+ "error",
+ {
+ "after": true,
+ "before": true
+ }
+ ],
"linebreak-style": [
"error",
"unix"