Closed a-velasco closed 5 months ago
Shouldn't file
# 06 - Contractions - Do not use these.yml
be renamed to something like
006-Contractions-forbidden.yml
?
General doubt: I am unsure about the wording of the message.
Vale itself uses "Did you really mean '%s'?", but that seems kind of unhelpful.
Perhaps a subsitution would be clearer?
message: "Consider using '%s' instead of '%s'"
swap:
ain't: isn't
how'd: how did
how'll: how will
I'd: one would
something's: something is
mayn't: may not
may've: may have
mightn't: might not
might've: might have
gonna: will
gotta: must
@a-velasco Yes, I prefer the substitution approach
Updated description.
Summary
Added a warning for the current list of forbidden contractions (except for 'twas)
Test details and sample output
Tested locally in this branch by adding a
.vale.ini
file and atest.md
file. .vale.initest.md
output