diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:57:28 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:57:28 +0300 |
commit | 3a12b56865e72ab69ea0be7292394faa9a7126bc (patch) | |
tree | 9338ed4638750e39dfc5939467234b1d94d80200 /src/rules | |
parent | b2e832786d4ad2a3147aa3e9a3ba01846b75cca4 (diff) | |
download | eslint-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/rules')
-rw-r--r-- | src/rules/eslint.json | 8 |
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" ], |