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:
Dunya Kirkali
2024-09-28 22:58:25 +02:00
committed by GitHub
parent 4e8f6cde08
commit 1890774875
135 changed files with 7002 additions and 21 deletions

10
.github/styles/RedHat/Spacing.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
---
extends: existence
level: error
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/spacing/
message: "Keep one space between words in '%s'."
nonword: true
# source: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
tokens:
- '\w+[.?!]\s{2,}[A-Z]\w+'
- '\w+[.?!][A-Z]\w+'