aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json8
2 files changed, 9 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 3fdd889..9a81278 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -54,7 +54,7 @@
- [X] "indent-legacy"
- [ ] "init-declarations"
- [ ] "jsx-quotes"
-- [ ] "key-spacing"
+- [X] "key-spacing"
- [ ] "keyword-spacing"
- [ ] "line-comment-position"
- [ ] "linebreak-style"
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"
],