feat(eslint): Rule "one-var"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
50dc1d4fec
commit
a9bbe9301d
@ -226,7 +226,7 @@
|
|||||||
- [ ] "object-curly-spacing"
|
- [ ] "object-curly-spacing"
|
||||||
- [ ] "object-property-newline"
|
- [ ] "object-property-newline"
|
||||||
- [ ] "object-shorthand"
|
- [ ] "object-shorthand"
|
||||||
- [ ] "one-var"
|
- [X] "one-var"
|
||||||
- [ ] "one-var-declaration-per-line"
|
- [ ] "one-var-declaration-per-line"
|
||||||
- [ ] "operator-assignment"
|
- [ ] "operator-assignment"
|
||||||
- [ ] "operator-linebreak"
|
- [ ] "operator-linebreak"
|
||||||
|
@ -60,6 +60,10 @@
|
|||||||
"allowIndentationTabs": true
|
"allowIndentationTabs": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"one-var": [
|
||||||
|
"error",
|
||||||
|
"never"
|
||||||
|
],
|
||||||
"prefer-reflect": [
|
"prefer-reflect": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user