Releases: vale-cli/vale
v3.1.0
Vale now has support for a VALE_STYLES_PATH environment variable to set the default StylesPath. You can also use the new vale ls-vars command to inspect the supported environment variables from the command line.
Changelog
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
See v3.0.0 for more detailed release notes.
Changelog
- 3c13689 fix: don't error on missing default files (vale-cli/vale-action#114)
v3.0.2
v3.0.1
v3.0.0
The third major release of Vale introduces an updated StylesPath layout and support for a default configuration.
Updated StylesPath
The StylesPath now has a special config directory:
config
├── dictionaries
├── templates
├── ignore
└── vocabularies
dictionaries: Hunspell-compatible dictionaries to be loaded byVale.Spelling. This offers an alternative means of customizing the spell-checking experience in Vale: instead of creating a new rule (e.g.,YourStyle.Spelling), you extend the built-inVale.Spellingwith custom dictionaries. This will have the benefit of allowing multiple styles to all contribute to the samespellingrule (#628).templates: Output templates.ignore: Ignore files to be loaded byVale.Spelling.vocabularies: The same as the currentVocabfolder; moved to match the new global configuration directories.
All of these directories will support being distributed as part of a package.
Default StylesPath + .vale.ini
Vale now supports a default StylesPath and a default .vale.ini file. See the vale ls-dirs command for the exact locations on your system.
The default .vale.ini file is loaded in addition to any other config files -- allowing for local changes to project configurations.
Breaking changes
When upgrading to v3.0.0, you'll need to move your vocabularies from $StylesPath/Vocab to $StylesPath/config/vocabularies.
Changelog
- 48763c6 refactor: use xdg lib for config and styles
- 3095655 refactor: make
syncroot-relative - 61bbee7 feat: sync with multiple config files
- eb63940 feat: default
StylesPath - 8919342 feat: fallback to global when no config is found
- a61c1d2 fix: handle relative StylePaths
- 29a4450 fix: ensure all matching sections are applied
- 4e7d95c refactor: load default config last
- c5e8345 feat: add default config
- ecfe037 feat:
syncsupports newconfigdir - 5bdb7f9 fix:
NOSUGGESTmay be more than 1 char - 2c68f5c fix: ensure meta characters are escaped
- 83d4d9e test: add case for vocab
- e40b0f5 refactor: new
config/ignoredirectory - ceaf267 refactor: load files from
config/dictionaries - 4ec4c80 feat: new
StylesPath/configdirectory