vale

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2017 License: MIT Imports: 12 Imported by: 0

README

Vale: Your Style, Our Editor

Build Status Build status Go Report Card license

demo

Vale is a linter for prose—no matter if it's plain text, markup or source-code comments. It's built around a plugin system that allows it to lint against arbitrary rules. In practice, this means that it can help you adhere to entire editorial style guides or simply break writer-specific bad habits (see Use Cases for more ideas).

Here's an example of Vale's versatility:

# These options are specified in either a .vale or _vale file.
StylesPath = path/to/my/project/styles/directory
MinAlertLevel = warning

[*.{md,txt}]
BasedOnStyles = TheEconomist
vale.Editorializing = YES

[*.py]
BasedOnStyles = vale
write-good.ThereIs = YES
vale.PassiveVoice = NO

In this case, we are linting all Markdown and text files in our project against The Economist. We are also linting Python comments against vale and write-goods's ThereIs rule.

Check out the wiki to learn more!

Features

  • Supports Markdown, reStructuredText, AsciiDoc, HTML, and source code
  • Extensible without programming experience
  • External checks can be written in any programming language
  • Standalone binaries for Windows, macOS, and Linux
  • Expressive, EditorConfig-like configuration

Installation

See the project wiki.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fixtures

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL