feat(eslint): Rule "key-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
b2e832786d
commit
3a12b56865
@ -54,7 +54,7 @@
|
|||||||
- [X] "indent-legacy"
|
- [X] "indent-legacy"
|
||||||
- [ ] "init-declarations"
|
- [ ] "init-declarations"
|
||||||
- [ ] "jsx-quotes"
|
- [ ] "jsx-quotes"
|
||||||
- [ ] "key-spacing"
|
- [X] "key-spacing"
|
||||||
- [ ] "keyword-spacing"
|
- [ ] "keyword-spacing"
|
||||||
- [ ] "line-comment-position"
|
- [ ] "line-comment-position"
|
||||||
- [ ] "linebreak-style"
|
- [ ] "linebreak-style"
|
||||||
|
@ -37,6 +37,14 @@
|
|||||||
"indent-legacy": [
|
"indent-legacy": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"key-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"afterColon": true,
|
||||||
|
"beforeColon": false,
|
||||||
|
"mode": "strict"
|
||||||
|
}
|
||||||
|
],
|
||||||
"lines-around-directive": [
|
"lines-around-directive": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user