You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to wire vale into a hermetic build tool (Bazel). It wants to manage dependencies itself, so I have a path to the styles/ directory at runtime that a user shouldn't need to predict and hard-code into their config file.
I'd like to be able to run with environment VALE_STYLES_PATH=/some/path or else possibly a new flag --stylesPath=/some/path
The text was updated successfully, but these errors were encountered:
A general comment on re-packaging Vale assets: I would personally discourage implementing alternative means of managing a StylesPath -- but if you do, you need to understand the difference between a style and a package.
A style is a collection of rules (that is, a folder of YAML files). Styles could, in theory, be managed by alternative systems that merely copy their contents into the user's StylesPath.
A package, however, cannot be managed this way. Packages should in general be thought of as complete Vale configurations, including a .vale.ini. file and an entire StylesPath (which can contain styles, vocabularies, dictionaries, ignore files, and output templates). You can't just copy these into an existing StylesPath; each asset type needs to be handled appropriately.
Check for existing issues
Describe the feature
I'm looking to wire vale into a hermetic build tool (Bazel). It wants to manage dependencies itself, so I have a path to the
styles/
directory at runtime that a user shouldn't need to predict and hard-code into their config file.I'd like to be able to run with environment
VALE_STYLES_PATH=/some/path
or else possibly a new flag--stylesPath=/some/path
The text was updated successfully, but these errors were encountered: