lints17.1.1 • Public • Published
Gain the power of static code analysis with a single command
lints comes with:
- CSSLint - automated linting of Cascading Stylesheets
- stylelint - a mighty, modern CSS linter
- HTMLHint - a Static Code Analysis Tool for HTML
- w3cjs - a node.js library for testing files or url's against the w3c html validator
- Bootlint - an HTML linter for Bootstrap projects
- markdownlint - a Node.js style checker and lint tool for Markdown files
- remark-lint - a Markdown code style linter
- dockerfilelint - linter and validator for Dockerfile
npm install lints -g
If there are warnings, lints will send them to stdout and exit with a non-zero exit code.
If you want lints to run when you do
npm test, then install it as a dev
npm install lints --save-dev
and add it as your
pretest script to your package.json:
To customize lints create the
.lints.json file in the root of your project.
You can see the default config in
To customize an individual linter create a respective rc file in the root of your project.
lints is compatible with the "Current" version of Node.js.
You can check whether it is compatible with Node.js 6.0 on the Travis CI page