Skip to content

Vale v3.0.0 #688

@jdkato

Description

@jdkato

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 by Vale.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-in Vale.Spelling with custom dictionaries. This will have the benefit of allowing multiple styles to all contribute to the same spelling rule (Add a way to combine dictionary processing across packages #628).
  • templates: Output templates.
  • vocabularies: The same as the current Vocab folder; 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

A configurable location for a default StylesPath (#295) and .vale.ini file. This will allow the following:

  1. Package managers will be able to install styles along with the vale executable.
  2. Users can choose to use this instead of project-specific configurations.
  3. Remote integrations (such as browser extensions) can use this to control their functionality.

Asset management commands

A vale new <asset> commend to:

  1. Create a new empty configuration in the current directory if no asset is specified: vale new .
  2. Create a new vocabulary: vale new vocabulary <MyVocab>
  3. Create a new dictionary: vale new dictionary <MyDict>
  4. Create a new template: vale new template <MyTemplate>
  5. Create a new style: vale new style <MyStyle>
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions