diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -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" ], |