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.
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: