Commit 024ce684 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-test-regex' into 'master'

Update future tense testing in docs

See merge request gitlab-org/gitlab!36163
parents 4eee1abe 1d1f5565
...@@ -20,7 +20,6 @@ swap: ...@@ -20,7 +20,6 @@ swap:
have not: haven't have not: haven't
that is: that's that is: that's
we are: we're we are: we're
will not: won't
would not: wouldn't would not: wouldn't
you are: you're you are: you're
you have: you've you have: you've
...@@ -31,25 +30,16 @@ swap: ...@@ -31,25 +30,16 @@ swap:
didn't: did not didn't: did not
doesn't: does not doesn't: does not
hasn't: has not hasn't: has not
how'll: how will
how's: how is how's: how is
isn't: is not isn't: is not
it'll: it will
shouldn't: should not shouldn't: should not
that'll: that will
they'll: they will
they're: they are they're: they are
wasn't: was not wasn't: was not
weren't: were not weren't: were not
we'll: we will
we've: we have we've: we have
what's: what is what's: what is
what'll: what will
when's: when is when's: when is
when'll: when will
where's: where is where's: where is
where'll: where will
who's: who is who's: who is
who'll: who will
why's: why is why's: why is
why'll: why will
...@@ -8,17 +8,10 @@ ...@@ -8,17 +8,10 @@
extends: existence extends: existence
message: 'Avoid using future tense: "%s"' message: 'Avoid using future tense: "%s"'
ignorecase: true ignorecase: true
level: suggestion level: warning
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid
tokens: raw:
- going to be - "(going to( |\n|[[:punct:]])[a-zA-Z]*|"
- going to - "will( |\n|[[:punct:]])[a-zA-Z]*|"
- he'll - "won't( |\n|[[:punct:]])[a-zA-Z]*|"
- she'll - "[a-zA-Z]*'ll( |\n|[[:punct:]])[a-zA-Z]*)"
- they'll
- we'll
- will be
- will have
- will # Leave this word after the two-word 'will' variants as a catchall
- won't
- you'll
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment