Watch
0
0
Fork
You've already forked hyperhive
0

fetch vale styles in nix, pinned, and drop vale sync

This commit is contained in:
atlas 2026-10-28 21:45:15 +01:00
commit 9ed7ebab91

View file

@ -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