StylesPath
Learn about Vale's resource directory.
The StylesPath specifies where Vale should look for its external resources (e.g., styles and ignore files). The path value may be absolute or relative to the location of the parent .vale.ini file.
# Here's an example of a relative path:
#
# .vale.ini
# ci/
# ├── vale/
# │ ├── styles/
StylesPath = ci/vale/styles
[*.md]
# `MyStyle` is a directory within
# `ci/vale/styles`.
BasedOnStyles = MyStyleIf you don’t specify a StylesPath in your .vale.ini file, Vale will use its default location:
Windows
%LOCALAPPDATA%\vale\styles
macOS
$HOME/Library/Application Support/vale/styles
Unix
$XDG_DATA_HOME/vale/styles
(Run the vale ls-dirs command to see the exact locations on your system.)
Structure
A StylesPath contains two types of entries: styles and the special config directory.
The config directory is used internally by Vale and contains the following:
Project-specific terminology lists.
Hunspell-compatible spelling dictionaries.
Output format templates.
Solutions to your custom rules.
Configuration filters.
Tengo scripts.
Last updated