vale: init

Prose linter, can be run with:

    vale --glob='*.md' .
This commit is contained in:
Lorenzo Manacorda 2023-11-12 16:43:35 +01:00
parent 095e794b2c
commit f998ca6edf
2 changed files with 12 additions and 0 deletions

6
.vale.ini Normal file
View File

@ -0,0 +1,6 @@
# https://vale.sh/docs/topics/config
MinAlertLevel = suggestion
StylesPath = vale
[*.md]
BasedOnStyles = Vale, Style

6
vale/Style/headers.yml Normal file
View File

@ -0,0 +1,6 @@
extends: capitalization
message: "'%s' should be in sentence case"
level: error
scope: heading
# $title, $sentence, $lower, $upper, or a pattern.
match: $sentence