2020-04-08 14:13:33 +05:30
|
|
|
---
|
2020-06-23 00:09:42 +05:30
|
|
|
# Suggestion: gitlab.Contractions
|
|
|
|
#
|
2020-04-08 14:13:33 +05:30
|
|
|
# Checks for use of common and uncommon contractions.
|
|
|
|
#
|
2020-07-28 23:09:34 +05:30
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
2020-04-08 14:13:33 +05:30
|
|
|
extends: substitution
|
2020-06-23 00:09:42 +05:30
|
|
|
message: 'Use "%s" instead of "%s", for a friendly, informal tone.'
|
2020-04-08 14:13:33 +05:30
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
|
|
|
|
level: suggestion
|
|
|
|
nonword: false
|
|
|
|
ignorecase: true
|
|
|
|
swap:
|
|
|
|
|
|
|
|
# Common contractions are ok
|
|
|
|
it is: it's
|
|
|
|
can not: can't
|
|
|
|
cannot: can't
|
|
|
|
do not: don't
|
|
|
|
have not: haven't
|
|
|
|
that is: that's
|
|
|
|
we are: we're
|
|
|
|
would not: wouldn't
|
|
|
|
you are: you're
|
|
|
|
you have: you've
|
|
|
|
|
|
|
|
# Uncommon contractions are not ok
|
|
|
|
aren't: are not
|
|
|
|
couldn't: could not
|
|
|
|
didn't: did not
|
|
|
|
doesn't: does not
|
|
|
|
hasn't: has not
|
|
|
|
how's: how is
|
|
|
|
isn't: is not
|
|
|
|
shouldn't: should not
|
|
|
|
they're: they are
|
|
|
|
wasn't: was not
|
|
|
|
weren't: were not
|
|
|
|
we've: we have
|
|
|
|
what's: what is
|
|
|
|
when's: when is
|
|
|
|
where's: where is
|
|
|
|
who's: who is
|
|
|
|
why's: why is
|
2020-07-28 23:09:34 +05:30
|
|
|
|