-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Vale guidelines checker and fix issues (#570)
* updated vale * fix Vale issues * exclude vale style dirs from lint checks Signed-off-by: Nicolas MASSART <[email protected]>
- Loading branch information
1 parent
6b736d5
commit d2383df
Showing
174 changed files
with
4,360 additions
and
741 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# these files are copied from the Vale style repositories | ||
CI/vale/vale_styles/*/*.md |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
extends: capitalization | ||
message: "'%s' should use sentence-style capitalization." | ||
link: 'https://docs.microsoft.com/en-us/style-guide/capitalization' | ||
level: suggestion | ||
scope: heading | ||
match: $sentence | ||
indicators: | ||
- ':' | ||
exceptions: | ||
- Besu | ||
- EthSigner | ||
- GoQuorum | ||
- Quorum | ||
- Orion | ||
- Hyperledger | ||
- PegaSys | ||
- Consensys | ||
- Ethereum | ||
- ETH | ||
- TOML | ||
- YAML | ||
- YML | ||
- JSON | ||
- RPC | ||
- Hashicorp | ||
- Vault | ||
- Azure | ||
- CLI | ||
- Code | ||
- Cosmos | ||
- Docker | ||
- Emmet | ||
- I | ||
- Kubernetes | ||
- Linux | ||
- macOS | ||
- Marketplace | ||
- MongoDB | ||
- REPL | ||
- Studio | ||
- TypeScript | ||
- URLs | ||
- Visual | ||
- VS | ||
- Windows |
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,8 @@ | ||
extends: substitution | ||
message: "Prefer English '%s' over Latin '%s' term." | ||
level: error | ||
ignorecase: true | ||
action: | ||
name: replace | ||
swap: | ||
de facto: default |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
CI/vale_styles/Microsoft/Accessibility.yml → ...e/vale_styles/Microsoft/Accessibility.yml
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
2 changes: 1 addition & 1 deletion
2
CI/vale_styles/Microsoft/Acronyms.yml → CI/vale/vale_styles/Microsoft/Acronyms.yml
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends: existence | ||
message: "In general, don't hyphenate '%s'." | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto | ||
ignorecase: true | ||
level: error | ||
action: | ||
name: convert | ||
params: | ||
- simple | ||
tokens: | ||
- 'auto-\w+' |
7 changes: 4 additions & 3 deletions
7
CI/vale_styles/Microsoft/Avoid.yml → CI/vale/vale_styles/Microsoft/Avoid.yml
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,17 +1,18 @@ | ||
extends: existence | ||
message: Don't use '%s'. | ||
message: "Don't use '%s'." | ||
link: https://docs.microsoft.com/en-us/style-guide | ||
ignorecase: true | ||
level: error | ||
tokens: | ||
- abortion | ||
- and so on | ||
- and/or | ||
- app developer | ||
- app(?:lication)? file | ||
- application developer | ||
- application program | ||
- applications developer | ||
- app(?:lication)? file | ||
- as well as | ||
- ask | ||
- backbone | ||
- abortion | ||
- backend |
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,12 @@ | ||
extends: substitution | ||
message: "Use '%s' instead of '%s'." | ||
level: warning | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/b/back-end | ||
# Use 'back end' (noun) or 'back-end' (adj). | ||
pos: 'back-end/NN|backend/(?:JJ|NN)|back/\w+ end/JJ|back/(?:JJ|RB) end/\w+' | ||
ignorecase: true | ||
action: | ||
name: replace | ||
swap: | ||
back-end: back end | ||
back end: back-end |
Oops, something went wrong.