Files
docker-docs/.github/vale/Docker/Contractions.yml
David Karlsson 51d15e721b vale poc (#15371)
* added vale config embryo

* added some more example rules

* update rules

* add more formatting rules

* expanded vocab

* added more rules

* added dvp vocabulary terms

* rm link text from sentence case rule
2022-09-14 05:31:36 +02:00

48 lines
798 B
YAML

extends: substitution
message: "Consider using '%s' instead of '%s'."
level: warning
ignorecase: true
swap:
are not: aren't
cannot: can't
could not: couldn't
did not: didn't
do not: don't
does not: doesn't
has not: hasn't
have not: haven't
how is: how's
is not: isn't
'it is(?!\.)': it's
'it''s(?=\.)': it is
should not: shouldn't
'that is(?!\.)': that's
'that''s(?=\.)': that is
'they are(?!\.)': they're
'they''re(?=\.)': they are
was not: wasn't
'we are(?!\.)': we're
'we''re(?=\.)': we are
'we have(?!\.)': we've
'we''ve(?=\.)': we have
were not: weren't
'what is(?!\.)': what's
'what''s(?=\.)': what is
'when is(?!\.)': when's
'when''s(?=\.)': when is
'where is(?!\.)': where's
'where''s(?=\.)': where is
will not: won't