Port JSCS require|disallowMultipleVarDecl rules #5910
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
rule
Relates to ESLint's core rules
Projects
Milestone
requireMultipleVarDecl, disallowMultipleVarDecl → http://eslint.org/docs/rules/one-var (?)
onevar
doesn't cover atm these cases:{requireMultipleVarDecl: true}
{requireMultipleVarDecl: {allExcept:["require"]}}
{disallowMultipleVarDecl: {allExcept:["require"]}}
{disallowMultipleVarDecl: {allExcept:["undefined"]}}
(if it's not the same as{var: {uninitialized: "always"}}
)Current
one-var
options:{ var | let | const | uninitialized | initialized: "always"|"never" }
.The text was updated successfully, but these errors were encountered: