fetch vale styles in nix, pinned, and drop vale sync
This commit is contained in:
parent
1971c6773a
commit
9ed7ebab91
1 changed files with 90 additions and 20 deletions
12
.vale.ini
12
.vale.ini
|
|
@ -1,13 +1,7 @@
|
|||
# `vale sync`'s destination isn't actually governed by this path -- it
|
||||
# always writes under `$XDG_DATA_HOME/vale/styles` (undocumented, confirmed
|
||||
# by testing: neither this file's discovery nor `--config` affects it). Set
|
||||
# `XDG_DATA_HOME=$PWD/.vale-data` before running `vale sync`/`vale docs` so
|
||||
# both commands agree on the same repo-local, gitignored location.
|
||||
StylesPath = .vale-data/vale/styles
|
||||
# `StylesPath` is not set here: the `vale` package in nix/packages/vale.nix
|
||||
# prepends it, pointing at the pinned styles in nix/packages/vale-styles.nix.
|
||||
# A style enabled below must also be listed there.
|
||||
MinAlertLevel = warning
|
||||
# `vale sync` reads this to know what to fetch from the Hub at CI time --
|
||||
# styles are fetched fresh each run, not vendored into the repo.
|
||||
Packages = Microsoft, alex, write-good
|
||||
|
||||
[*.md]
|
||||
BasedOnStyles = Microsoft, alex, write-good
|
||||
|
|
|
|||
Loading…
Reference in a new issue