Giter Site home page Giter Site logo

vale-boilerplate's Introduction

vale-boilerplate

This is an repository showcases the basic components of Vale's configuration: a StylesPath (/styles), a configuration file (/.vale.ini), and markup content (this file).

Try it out by running vale README.md from your command line.

Markup

Vale is capable of "understanding" markup, allowing it to intelligently lint prose without generators hundreds of markup-related false positives.

For example, consider the following write-good style violations:

This sentence is extremely good.

When using the write-good style, this sentence will generate a warning by default ('extremely' is a weasel word!). However, if we format extremely as inline code, we will no longer receive a warning:

This sentence is extremely good.

You can also use inline comments to control Vale's behavior:

This also works for code blocks and you can even write rules that only activate in certain sections of markup (e.g., headings or block quotes). See the documentation for more information.

This is is another sentence with an error.

Configuration

Vale's configuration file (.vale.ini) needs to define a StylesPath directory that contains any styles that you'd like to use:

.
├── .vale.ini
├── LICENSE
├── README.md
└── styles
    └── write-good
        ├── Cliches.yml
        ├── E-Prime.yml
        ├── Illusions.yml
        ├── Passive.yml
        ├── README.md
        ├── So.yml
        ├── ThereIs.yml
        ├── TooWordy.yml
        ├── Weasel.yml
        └── meta.json

See the documentation for more information.

vale-boilerplate's People

Contributors

jdkato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.