aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:57:28 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:57:28 +0300
commit3a12b56865e72ab69ea0be7292394faa9a7126bc (patch)
tree9338ed4638750e39dfc5939467234b1d94d80200 /src
parentb2e832786d4ad2a3147aa3e9a3ba01846b75cca4 (diff)
downloadeslint-config-3a12b56865e72ab69ea0be7292394faa9a7126bc.tar.xz
eslint-config-3a12b56865e72ab69ea0be7292394faa9a7126bc.zip
feat(eslint): Rule "key-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 48490f1..96823ca 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -37,6 +37,14 @@
"indent-legacy": [
"off"
],
+ "key-spacing": [
+ "error",
+ {
+ "afterColon": true,
+ "beforeColon": false,
+ "mode": "strict"
+ }
+ ],
"lines-around-directive": [
"off"
],