mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2026-02-07 07:33:00 +00:00
Enable vale for prose linting (#3)
* Enable vale in CI * Add vale config * Tweak vale * Update config * Update .gitignore * Switch back * Rename CI * Add badges * Tidy up CI * Change image * Configure vale * Delint * Update README
This commit is contained in:
27
.github/styles/RedHat/Slash.yml
vendored
Normal file
27
.github/styles/RedHat/Slash.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
extends: existence
|
||||
ignorecase: true
|
||||
level: warning
|
||||
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/slash/
|
||||
message: "Use either 'or' or 'and' in '%s'"
|
||||
# source: "IBM - Slashes, p. 68"
|
||||
scope:
|
||||
- sentence
|
||||
- heading
|
||||
tokens:
|
||||
- '(?<!/)\w+/\w+'
|
||||
exceptions:
|
||||
- '\d{1,4}\/\d{1,4}'
|
||||
- "0/"
|
||||
- "[Ii]nput/[Oo]utput"
|
||||
- "C/C"
|
||||
- "client/server"
|
||||
- "I/O"
|
||||
- "N/A"
|
||||
- "read/write"
|
||||
- "SSL/TLS"
|
||||
- "TCP/IP"
|
||||
- "upstream/downstream"
|
||||
- "z/OS"
|
||||
- "z/OSMF"
|
||||
- "[Kk]ey/value"
|
||||
Reference in New Issue
Block a user