no-void should be in "Stylistic Issues" category #13498
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
breaking
This change is backwards-incompatible
rule
Relates to ESLint's core rules
This is a proposal to change the category of the
no-void
rule to "Stylistic Issues", because the rule is about preferences, not best practices.no-void
is currently categorized as a "Best Practice" rule, which suggests that it is considered a best practice to not usevoid
. That wasn't the intention when this rule was introduced (#1017).This change should avoid some confusion about this rule. In particular, if one assumes that this rule does enforce best practices (based on its current category), it could seem that the rule fails to allow some cases where the use of
void
might not be a bad practice, while it's actually just a stylistic rule.The text was updated successfully, but these errors were encountered: