Open benjaminjellis opened 1 week ago
This is because it is currently an explicit recommendation to use minute and not min, and isn't considered a spelling thing. There are a couple of changes we can probably make to improve this, but a temporary one is to add minimum
as another way to correct min
.
Not to be prescriptive about your comment, but the fix I would make in your shoes is just to say "minimum payment" instead of "min payment" in your doc comment, since saying that a field named min_payment
is the "min payment" doesn't really clarify anything.
Thanks! The snippet is just demonstration of the issue since I can't share any real code here
Harper flags
min
in docs as a misspelling. However, it only provides an action to correct the spelling tominute
and doesn't provide an action to addmin
to the global / file dictionary.I looked through the issues and it seems to be related to https://github.com/elijah-potter/harper/issues/243, as in , that issue notes
ms
also cannot be added to the global / file dictionary