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
9dbc5e45
Commit
9dbc5e45
authored
Feb 24, 2020
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standardize format of Vale configuration files
parent
57aa6197
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
82 deletions
+15
-82
doc/.linting/vale/styles/gitlab/Contractions.yml
doc/.linting/vale/styles/gitlab/Contractions.yml
+5
-28
doc/.linting/vale/styles/gitlab/LatinTerms.yml
doc/.linting/vale/styles/gitlab/LatinTerms.yml
+5
-27
doc/.linting/vale/styles/gitlab/Substitutions.yml
doc/.linting/vale/styles/gitlab/Substitutions.yml
+5
-27
No files found.
doc/.linting/vale/styles/gitlab/Contractions.yml
View file @
9dbc5e45
---
---
# `extends` indicates the Vale extension point being used.
# Checks for use of common and uncommon contractions.
# Full list of styles: https://errata-ai.github.io/vale/styles/
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
extends
:
substitution
# Substitution rules can display the matched and suggested strings in the
# message shown to the user. The first use of %s prints the suggested option,
# and the second use of %s displays what was found in the text.
message
:
Use "%s" instead of "%s" in most cases.
message
:
Use "%s" instead of "%s" in most cases.
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
# Should a result be flagged as a suggestion, warning, or error?
# Results that fall below the MinAlertLevel set in
# https://gitlab.com/gitlab-org/gitlab/blob/master/.vale.ini won't be shown.
level
:
suggestion
level
:
suggestion
# Should a match be case-insensitive or case-sensitive?
# Acceptable values are 'true' or 'false'
ignorecase
:
true
# Should this rule be limited to a specific scope? If yes, uncomment the line.
# Possible scopes: https://errata-ai.github.io/vale/formats/#available-scopes
# scope: heading
# Should this rule ignore normal word boundaries, such as \b ?
# Acceptable values are 'true' or 'false'
nonword
:
false
nonword
:
false
ignorecase
:
true
# What is the source for this rule?
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
# The 'swap' section provides a list of values, one per line, in the form of
# $bad: $good
swap
:
swap
:
# Common contractions are ok
# Common contractions are ok
...
@@ -73,4 +51,3 @@ swap:
...
@@ -73,4 +51,3 @@ swap:
who'll
:
who will
who'll
:
who will
why's
:
why is
why's
:
why is
why'll
:
why will
why'll
:
why will
doc/.linting/vale/styles/gitlab/LatinTerms.yml
View file @
9dbc5e45
---
---
# `extends` indicates the Vale extension point being used.
# Checks for use of latin terms..
# Full list of styles: https://errata-ai.github.io/vale/styles/
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
extends
:
substitution
# Substitution rules can display the matched and suggested strings in the
# message shown to the user. The first use of %s prints the suggested option,
# and the second use of %s displays what was found in the text.
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
# Should a result be flagged as a suggestion, warning, or error?
# Results that fall below the MinAlertLevel set in
# https://gitlab.com/gitlab-org/gitlab/blob/master/.vale.ini won't be shown.
level
:
warning
level
:
warning
# Should a match be case-insensitive or case-sensitive?
# Acceptable values are 'true' or 'false'
ignorecase
:
true
# Should this rule be limited to a specific scope? If yes, uncomment the line.
# Possible scopes: https://errata-ai.github.io/vale/formats/#available-scopes
# scope: heading
# Should this rule ignore normal word boundaries, such as \b ?
# Acceptable values are 'true' or 'false'
nonword
:
true
nonword
:
true
ignorecase
:
true
# What is the source for this rule?
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
# The 'swap' section provides a list of values, one per line, in the form of
# $bad: $good
swap
:
swap
:
e\.g\.
:
for example
e\.g\.
:
for example
e\. g\.
:
for example
e\. g\.
:
for example
...
...
doc/.linting/vale/styles/gitlab/Substitutions.yml
View file @
9dbc5e45
---
---
# `extends` indicates the Vale extension point being used.
# Checks for use of top misused terms at GitLab.
# Full list of styles: https://errata-ai.github.io/vale/styles/
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends
:
substitution
extends
:
substitution
# Substitution rules can display the matched and suggested strings in the
# message shown to the user. The first use of %s prints the suggested option,
# and the second use of %s displays what was found in the text.
message
:
Use "%s" instead of "%s."
message
:
Use "%s" instead of "%s."
link
:
https://about.gitlab.com/handbook/communication/#top-misused-terms
# Should a result be flagged as a suggestion, warning, or error?
# Results that fall below the MinAlertLevel set in
# https://gitlab.com/gitlab-org/gitlab/blob/master/.vale.ini won't be shown.
level
:
warning
level
:
warning
# Should a match be case-insensitive or case-sensitive?
# Acceptable values are 'true' or 'false'
ignorecase
:
true
# Should this rule be limited to a specific scope? If yes, uncomment the line.
# Possible scopes: https://errata-ai.github.io/vale/formats/#available-scopes
# scope: heading
# Should this rule ignore normal word boundaries, such as \b ?
# Acceptable values are 'true' or 'false'
nonword
:
true
nonword
:
true
ignorecase
:
true
# What is the source for this rule?
link
:
https://about.gitlab.com/handbook/communication/#top-misused-terms
# The 'swap' section provides a list of values, one per line, in the form of
# $bad: $good
swap
:
swap
:
GitLabber
:
GitLab team member
GitLabber
:
GitLab team member
self hosted
:
self-managed
self hosted
:
self-managed
...
...
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