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-property-newline"
|
||||
- [ ] "object-shorthand"
|
||||
- [ ] "one-var"
|
||||
- [X] "one-var"
|
||||
- [ ] "one-var-declaration-per-line"
|
||||
- [ ] "operator-assignment"
|
||||
- [ ] "operator-linebreak"
|
||||
|
@ -60,6 +60,10 @@
|
||||
"allowIndentationTabs": true
|
||||
}
|
||||
],
|
||||
"one-var": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"prefer-reflect": [
|
||||
"off"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user