You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an interesting idea, but it cannot prevent false positives in cases with meaningful numbers. For example, in Naming/VariableNumber, certain method names are allowed by default, requiring a similar list of exceptions. However, managing such a list might be a hassle for users, leading to doubts about its value as a default cop.
A cop idea for the
Naming
group: prefervar
overvar_1
unless there's alsovar_2
(etc.) in the same scope. Makes the code more readable:The text was updated successfully, but these errors were encountered: