Giter Site home page Giter Site logo

vale-aws's Introduction

AWS style for Vale CLI (vale-aws)

A style for Vale prose linter.

Background

While reading about AWS services on the internet, I've noticed that many times authors make mistakes in names of these services. For example they say Amazon Lambda instead of AWS Lambda, or AWS DynamoDB instead of Amazon DynamoDB.

I believe it's important to use correct names and terms (especially if you write professionally). However I could also understand that it might be tricky sometimes. It's better to use machines to help us to avoid mistakes.

That's why I created AWS style for Vale linter.

Example

With this style Vale doesn't just highlight mistakes, but also provide suggestions.

> vale --output=line samples/
samples/default.md:6:5:AWS.Names:Use 'Amazon DynamoDB' instead of 'AWS DynamoDB'
samples/default.md:8:5:AWS.Names:Use 'AWS Lambda' instead of 'Amazon Lambda'
samples/default.md:10:5:AWS.Names:Use 'AWS IoT Core' instead of 'Amazon IoT Core'
samples/default.md:11:5:AWS.Names:Use 'Amazon Cognito' instead of 'AWS Cognito'

What is Vale?

Vale is a syntax-aware linter for prose built with speed and extensibility in mind.

Unlike most writing-related software, Vale's primary purpose isn't to provide its own advice; it's designed to enforce an existing style guide through its YAML-based extension system.

Vale uses a plain-text (INI and YAML) configuration system that makes it possible to share configurations across platforms, applications, and users.

Repository: github.com/errata-ai/vale

Install

git clone [email protected]:soulim/vale-aws.git

Usage

bin/list | bin/gen > AWS/Names.yml
# vale.ini

StylesPath = styles

[*.{md,txt}]
BasedOnStyles = Vale, AWS

Contributing

PRs accepted.

License

MIT © Alexander Sulim

vale-aws's People

Contributors

soulim avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.