mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-08-16 16:50:22 +03:00
vale: init
Prose linter, can be run with: vale --glob='*.md' .
This commit is contained in:
parent
095e794b2c
commit
f998ca6edf
6
.vale.ini
Normal file
6
.vale.ini
Normal 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
6
vale/Style/headers.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user