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
Hide 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.
# Full list of styles: https://errata-ai.github.io/vale/styles/
# Checks for use of common and uncommon contractions.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
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.
# 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.
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
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
# 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
ignorecase
:
true
swap
:
# Common contractions are ok
...
...
@@ -73,4 +51,3 @@ swap:
who'll
:
who will
why's
:
why is
why'll
:
why will
doc/.linting/vale/styles/gitlab/LatinTerms.yml
View file @
9dbc5e45
---
# `extends` indicates the Vale extension point being used.
# Full list of styles: https://errata-ai.github.io/vale/styles/
# Checks for use of latin terms..
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
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.
# 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.
link
:
https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
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
# 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
ignorecase
:
true
swap
:
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.
# Full list of styles: https://errata-ai.github.io/vale/styles/
# Checks for use of top misused terms at GitLab.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
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."
# 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.
link
:
https://about.gitlab.com/handbook/communication/#top-misused-terms
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
# 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
ignorecase
:
true
swap
:
GitLabber
:
GitLab team member
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