feat(eslint): Rule "keyword-spacing"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:42:49 +04:00
parent 3ed46834aa
commit 2529229c18
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -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"

View File

@ -67,6 +67,13 @@
"mode": "strict"
}
],
"keyword-spacing": [
"error",
{
"after": true,
"before": true
}
],
"linebreak-style": [
"error",
"unix"