summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 33aeed3..1ddf364 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -55,7 +55,7 @@
- [ ] "init-declarations"
- [ ] "jsx-quotes"
- [X] "key-spacing"
-- [ ] "keyword-spacing"
+- [X] "keyword-spacing"
- [ ] "line-comment-position"
- [X] "linebreak-style"
- [ ] "lines-around-comment"
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"