Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
200ba97e
Commit
200ba97e
authored
Jun 09, 2020
by
Evan Read
Committed by
Amy Qualls
Jun 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Vale rule configuration follow a pattern
parent
beabd19f
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
34 additions
and
16 deletions
+34
-16
doc/.vale/gitlab/Acronyms.yml
doc/.vale/gitlab/Acronyms.yml
+4
-2
doc/.vale/gitlab/BadgeCapitalization.yml
doc/.vale/gitlab/BadgeCapitalization.yml
+1
-1
doc/.vale/gitlab/British.yml
doc/.vale/gitlab/British.yml
+2
-2
doc/.vale/gitlab/CodeblockFences.yml
doc/.vale/gitlab/CodeblockFences.yml
+1
-1
doc/.vale/gitlab/Contractions.yml
doc/.vale/gitlab/Contractions.yml
+3
-1
doc/.vale/gitlab/CurlStringsQuoted.yml
doc/.vale/gitlab/CurlStringsQuoted.yml
+1
-1
doc/.vale/gitlab/FirstPerson.yml
doc/.vale/gitlab/FirstPerson.yml
+4
-1
doc/.vale/gitlab/InternalLinkExtension.yml
doc/.vale/gitlab/InternalLinkExtension.yml
+1
-1
doc/.vale/gitlab/LatinTerms.yml
doc/.vale/gitlab/LatinTerms.yml
+4
-2
doc/.vale/gitlab/MeaningfulLinkWords.yml
doc/.vale/gitlab/MeaningfulLinkWords.yml
+1
-1
doc/.vale/gitlab/OxfordComma.yml
doc/.vale/gitlab/OxfordComma.yml
+3
-1
doc/.vale/gitlab/RelativeLinks.yml
doc/.vale/gitlab/RelativeLinks.yml
+1
-1
doc/.vale/gitlab/SentenceLength.yml
doc/.vale/gitlab/SentenceLength.yml
+3
-1
doc/.vale/gitlab/Spelling.yml
doc/.vale/gitlab/Spelling.yml
+3
-0
doc/.vale/gitlab/SubstitutionWarning.yml
doc/.vale/gitlab/SubstitutionWarning.yml
+2
-0
No files found.
doc/.vale/gitlab/Acronyms.yml
View file @
200ba97e
---
# Warning: gitlab.Acronyms
#
# Checks for unexpanded acronyms.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
conditional
message
:
"
'%s'
has
no
definition."
message
:
'
"%s"
has
no
definition.'
link
:
https://about.gitlab.com/handbook/marketing/growth-marketing/content/editorial-team/#acronyms
level
:
warning
ignorecase
:
false
...
...
@@ -60,4 +63,3 @@ exceptions:
-
WIP
-
XML
-
YAML
doc/.vale/gitlab/BadgeCapitalization.yml
View file @
200ba97e
---
# Error: gitlab.BadgeCapitalization
#
# Verifies that badges are not
lower
case, which won't render properly.
# Verifies that badges are not
mixed
case, which won't render properly.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
...
...
doc/.vale/gitlab/British.yml
View file @
200ba97e
---
# Error: gitlab.British
#
# Checks
for use of some of the top misused terms at GitLab
.
# Checks
that US spelling is used over British spelling
.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
message
:
'
Use
the
American
spelling
"%s"
instead
of
the
British
"%s".'
message
:
'
Use
the
US
spelling
"%s"
instead
of
the
British
"%s".'
link
:
https://about.gitlab.com/handbook/communication/#top-misused-terms
level
:
error
ignorecase
:
true
...
...
doc/.vale/gitlab/CodeblockFences.yml
View file @
200ba97e
---
# Error: gitlab.CodeblockFences
#
# Ensures all codeblock
fences use the full name for the language
.
# Ensures all codeblock
language tags use the full name, not aliases
.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
...
...
doc/.vale/gitlab/Contractions.yml
View file @
200ba97e
---
# Suggestion: gitlab.Contractions
#
# Checks for use of common and uncommon contractions.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
message
:
Use "%s" instead of "%s", for a friendly, informal tone.
message
:
'
Use
"%s"
instead
of
"%s",
for
a
friendly,
informal
tone.'
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
level
:
suggestion
nonword
:
false
...
...
doc/.vale/gitlab/CurlStringsQuoted.yml
View file @
200ba97e
---
#
Error
: gitlab.CurlStringsQuoted
#
Warning
: gitlab.CurlStringsQuoted
#
# Ensures all codeblocks using curl quote any URL strings.
#
...
...
doc/.vale/gitlab/FirstPerson.yml
View file @
200ba97e
---
# Warning: gitlab.FirstPerson
#
# Checks for use of first person pronouns.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
message
:
'
`%s`
is
a
first-person
pronoun.
Use
second-
or
third-person
pronouns
(like
we,
you,
us,
one)
instead.'
message
:
'
"%s"
is
a
first-person
pronoun.
Use
second-
or
third-person
pronouns
(like
we,
you,
us,
one)
instead.'
level
:
warning
ignorecase
:
true
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
...
...
doc/.vale/gitlab/InternalLinkExtension.yml
View file @
200ba97e
...
...
@@ -5,7 +5,7 @@
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
message
:
Link %s must use the .md file extension.
message
:
'
Link
"%s"
must
use
the
.md
file
extension.'
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level
:
error
scope
:
raw
...
...
doc/.vale/gitlab/LatinTerms.yml
View file @
200ba97e
---
# Checks for use of latin terms..
# Warning: gitlab.LatinTerms
#
# Checks for use of latin terms.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
message
:
Use "%s" instead of "%s," but consider rewriting the sentence.
message
:
'
Use
"%s"
instead
of
"%s",
but
consider
rewriting
the
sentence.'
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
level
:
warning
nonword
:
true
...
...
doc/.vale/gitlab/MeaningfulLinkWords.yml
View file @
200ba97e
---
#
Error
: gitlab.MeaningfulLinkWords
#
Warning
: gitlab.MeaningfulLinkWords
#
# Checks for the presence of semantically unhelpful words in link text.
#
...
...
doc/.vale/gitlab/OxfordComma.yml
View file @
200ba97e
---
# Warning: gitlab.OxfordComma
#
# Checks for the lack of an Oxford comma. In some cases, will catch overly
# complex sentence structures with lots of commas.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
message
:
Use a comma before the last "and" or "or" in a list of four or more items.
message
:
'
Use
a
comma
before
the
last
"and"
or
"or"
in
a
list
of
four
or
more
items.'
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#punctuation
level
:
warning
raw
:
...
...
doc/.vale/gitlab/RelativeLinks.yml
View file @
200ba97e
...
...
@@ -5,7 +5,7 @@
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
existence
message
:
Link %s must be relative.
message
:
'
Link
"%s"
must
be
relative.'
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level
:
error
scope
:
raw
...
...
doc/.vale/gitlab/SentenceLength.yml
View file @
200ba97e
---
# Warning: gitlab.SentenceLength
#
# Counts words in a sentence and alerts if a sentence exceeds 25 words.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
occurrence
message
:
"
Shorter
sentences
improve
readability
(max
25
words)."
message
:
'
Shorter
sentences
improve
readability
(max
25
words).'
scope
:
sentence
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
level
:
warning
...
...
doc/.vale/gitlab/Spelling.yml
View file @
200ba97e
---
# Warning: gitlab.Spelling
#
# Checks for possible spelling mistakes in content, not code. May find false positives
# due to links using angle brackets: <https://example.com>. These can be ignored.
#
...
...
doc/.vale/gitlab/SubstitutionWarning.yml
View file @
200ba97e
---
# Warning: gitlab.SubstitutionWarning
#
# Warns against using common shorthand for terms.
# For substitutions flagged as errors, see Substitutions.yml
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment