Basics
Vale expects its configuration to be in a file named .vale.ini
or _vale.ini
.
Vale will will start looking for this file in the same directory as the file that’s being linted. If it can’t find one, it will search up to 6 levels up the directory tree. After 6 levels, it will look for a global configuration file in the OS equivalent of $HOME
(see below).
OS | Search Locations |
---|---|
Windows | $HOME , %UserProfile% , or %HomeDrive%%HomePath% |
macOS | $HOME |
Linux | $HOME |
If more than one configuration file is present, the closest one takes precedence.