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"
|
||||
- [ ] "init-declarations"
|
||||
- [ ] "jsx-quotes"
|
||||
- [ ] "key-spacing"
|
||||
- [X] "key-spacing"
|
||||
- [ ] "keyword-spacing"
|
||||
- [ ] "line-comment-position"
|
||||
- [ ] "linebreak-style"
|
||||
|
@ -37,6 +37,14 @@
|
||||
"indent-legacy": [
|
||||
"off"
|
||||
],
|
||||
"key-spacing": [
|
||||
"error",
|
||||
{
|
||||
"afterColon": true,
|
||||
"beforeColon": false,
|
||||
"mode": "strict"
|
||||
}
|
||||
],
|
||||
"lines-around-directive": [
|
||||
"off"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user