Skip to content

📙Lint all of the code examples in your README documentation using shared configs.

License

Notifications You must be signed in to change notification settings

Wildhoney/Readlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readlint

Lint all of the code examples in your README documentation using shared configs.

Travis   npm   License MIT   Coveralls   code style: prettier

npm: npm install readlint --save-dev

Readlint

Getting Started

Using readlint is as easy as installing it, and then running it local to your project. There is no configuration as eslint and stylelint takes its configuration from their respective config files, which ideally should be the same as the config you're using for the entire project.

package.json

{
    "scripts": {
        "lint": "eslint && stylelint && readlint"
    }
}

Support Languages

Language Linter Requires Configuration?
javascript eslint Yes
javascript jshint Yes
css stylelint Yes
json jsonlint No
html htmllint Yes
yaml yamllint No

About

📙Lint all of the code examples in your README documentation using shared configs.

Resources

License

Stars

Watchers

Forks

Packages