feat(eslint): Rule "keyword-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
3ed46834aa
commit
2529229c18
@ -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"
|
||||
|
@ -67,6 +67,13 @@
|
||||
"mode": "strict"
|
||||
}
|
||||
],
|
||||
"keyword-spacing": [
|
||||
"error",
|
||||
{
|
||||
"after": true,
|
||||
"before": true
|
||||
}
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
|
Loading…
x
Reference in New Issue
Block a user