-
-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
Here are some of my rough ideas for the next major release of Vale.
Re-organized StylesPath
The StylesPath will now have a special Vale directory:
Vale
├── dictionaries
├── templates
└── 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 (Add a way to combine dictionary processing across packages #628).templates: Output templates.vocabularies: The same as the currentVocabfolder; moved to match the new global configuration directories.- should be supported in format-specific settings (docs(vocab): Clarify multiple vocabulary usage vale.sh#37)
All of these directories will support being distributed as part of a package.
Default StylesPath + .vale.ini
A configurable location for a default StylesPath (#295) and .vale.ini file. This will allow the following:
- Package managers will be able to install styles along with the
valeexecutable. - Users can choose to use this instead of project-specific configurations.
- Remote integrations (such as browser extensions) can use this to control their functionality.
Asset management commands
A vale new <asset> commend to:
- Create a new empty configuration in the current directory if no asset is specified:
vale new . - Create a new vocabulary:
vale new vocabulary <MyVocab> - Create a new dictionary:
vale new dictionary <MyDict> - Create a new template:
vale new template <MyTemplate> - Create a new style:
vale new style <MyStyle> - Create a new rule:
vale new rule <MyStyle/MyRule.yml>
This will also be supported by vale-ls to allow creating these assets from within your editor.
Feel free to comment or suggest other ideas.
Reactions are currently unavailable