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"
|
- [ ] "init-declarations"
|
||||||
- [ ] "jsx-quotes"
|
- [ ] "jsx-quotes"
|
||||||
- [X] "key-spacing"
|
- [X] "key-spacing"
|
||||||
- [ ] "keyword-spacing"
|
- [X] "keyword-spacing"
|
||||||
- [ ] "line-comment-position"
|
- [ ] "line-comment-position"
|
||||||
- [X] "linebreak-style"
|
- [X] "linebreak-style"
|
||||||
- [ ] "lines-around-comment"
|
- [ ] "lines-around-comment"
|
||||||
|
@ -67,6 +67,13 @@
|
|||||||
"mode": "strict"
|
"mode": "strict"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"keyword-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"linebreak-style": [
|
"linebreak-style": [
|
||||||
"error",
|
"error",
|
||||||
"unix"
|
"unix"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user