readlint
v0.7.2
Published
Lint all of the code examples in your README documentation using shared configs.
Readme
Readlint
Lint all of the code examples in your README documentation using shared configs.
npm: npm install readlint --save-dev
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 |
