forked from redhat-documentation/vale-at-red-hat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix redhat-documentation#114 - no error for "terminal"
- Loading branch information
Showing
5 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
StylesPath = ../../../styles | ||
|
||
MinAlertLevel = suggestion | ||
|
||
[*.adoc] | ||
RedHat.shell-prompt = 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,2 @@ | ||
invalid content: command prompt | ||
invalid content: shell |
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,2 @@ | ||
valid content: shell prompt | ||
valid content: terminal |
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,10 @@ | ||
extends: substitution | ||
message: "Use '%s' rather than '%s'." | ||
link: https://redhat-documentation.github.io/supplementary-style-guide/#ssl-tls | ||
ignorecase: true | ||
level: error | ||
action: | ||
name: replace | ||
source: Red Hat | ||
swap: | ||
"SSL(?!/TLS)": "SSL/TLS" |
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,10 +1,14 @@ | ||
extends: substitution | ||
message: "Use '%s' rather than '%s'." | ||
# The "shell prompt" is the character at the beginning of the command line, for example "$" or "#". It indicates that the shell is ready to accept commands. Do not use "command prompt," "terminal," or "shell." | ||
# "Terminal emulation" refers to making a computer respond like a particular type of terminal. Terminal emulation programs allow you to access a mainframe computer or bulletin board service with a personal computer. | ||
|
||
link: https://redhat-documentation.github.io/supplementary-style-guide/#shell-prompt | ||
ignorecase: true | ||
level: error | ||
action: | ||
name: replace | ||
source: Red Hat | ||
swap: | ||
command prompt|terminal: shell prompt | ||
command prompt: shell prompt | ||
"shell(?! prompt)": shell prompt |