-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
142 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
This is __<a-user-replaced-value>__ with hyphens. | ||
This is __<a-user-replaced_value>__ with hyphens and underscores. | ||
This is __<a_user-replaced-value>__ with hyphens and undersores. | ||
This is __<a_user-replaced_value>__ with hyphens and underscores. | ||
This is __<a_user-`replaced`_value>__ with hyphens and monospaced. | ||
* `<user-replaced-value>` with hyphens in backticks | ||
* <user-replaced_value> with hyphens and underscores | ||
* <user-replaced-value> with hyphens and undersores | ||
* <user-replaced_value> with hyphens and underscores | ||
* __<a-user-replaced-value>__ with hyphens | ||
* __<a-user-replaced_value>__ with hyphens and underscores | ||
* __<a_user-replaced-value>__ with hyphens and undersores | ||
* __<a_user-replaced_value>__ with hyphens and underscores | ||
* __<a_user-`replaced`_value>__ with hyphens and monospaced |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
; Vale configuration file to test the `Using` rule | ||
StylesPath = ../../../styles | ||
MinAlertLevel = suggestion | ||
[*.adoc] | ||
RedHat.Using = YES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
We improved the system using new algorithms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
If you are using the ElasticSearch log store do nothing. | ||
The application crashes when not using the recommended API. | ||
Developers are using the latest version of the framework. | ||
Switching to using cloud storage improved our backup efficiency. | ||
The documentation provides guidelines about using third-party libraries. | ||
Users experience faster load times when using the optimized query. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
--- | ||
extends: substitution | ||
message: "%s." | ||
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/userreplacedvalues/ | ||
extends: existence | ||
level: suggestion | ||
message: "Separate words by underscores in user-replaced values." | ||
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/userreplacedvalues/ | ||
scope: raw | ||
swap: | ||
'__<[a-z_\x60]+-[\x60a-z_-]+>__': Separate words by underscores in user-replaced values | ||
nonword: true | ||
action: | ||
name: edit | ||
params: | ||
- regex | ||
- "(-)" # pattern | ||
- "_" # replace | ||
tokens: | ||
- '__<[a-z_\x60]+-[\x60a-z_-]+>__' | ||
- '<[a-z_]+-[a-z_-]+>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
extends: sequence | ||
message: "Use 'by using' instead of 'using' when it follows a noun for clarity and grammatical correctness." | ||
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/using/ | ||
level: warning | ||
action: | ||
name: edit | ||
params: | ||
- regex | ||
- '(\w+)( using)' # pattern | ||
- "$1 by using" # replace | ||
tokens: | ||
- tag: NN|NNP|NNPS|NNS | ||
- pattern: using |
Oops, something went wrong.