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
I think a spellcheck will be too annoying for variable names. It will have too many false-positives and words it doesn't know. It's easier to manually define a list of common spelling inconsistencies. We could reuse the machinery from prevent-abbreviations.
From a "support" point of view, this should probably be added if there's a short and complete list of such words, otherwise you'll end up having to tweak it regularly via "feature requests" issues.
Description
Enforce consistent dialect (Commonweath/British or American) for function and variable names
Fail
When
['error', 'american']
:When
['error', 'commonwealth']
:Pass
When
['error', 'american']
:When
['error', 'commonwealth']
:Proposed rule name
name-dialect
Additional Info
No response
The text was updated successfully, but these errors were encountered: