Lint Everything
raw JSON → 0.9.5 verified Fri May 01 auth: no javascript
A universal linter that runs multiple linters (checkstyle, ESLint, HTMLLint, stylelint) on a project with a single command. Version 0.9.5 is the latest stable release, with no recent updates. It wraps existing linters and provides unified configuration and output. Alternatives include running individual linters separately.
Common errors
error Error: Cannot find module 'linteverything' ↓
cause Package not installed or not in node_modules.
fix
Run npm install linteverything --save-dev
error TypeError: linteverything is not a function ↓
cause Using ES6 import syntax with a CommonJS-only module.
fix
Use const linteverything = require('linteverything')
Warnings
deprecated The package has not been updated since 2019. ↓
fix Consider using individual linters directly (eslint, stylelint, etc.)
breaking Requires Java installed for checkstyle linter. ↓
fix Install Java Runtime Environment (JRE) or disable checkstyle in options.
gotcha The default logLevel is 'error', meaning warnings are hidden unless changed. ↓
fix Set logLevel: 'all' or 'warning' in options.
Install
npm install linteverything yarn add linteverything pnpm add linteverything Imports
- linteverything wrong
import linteverything from 'linteverything'correctconst linteverything = require('linteverything') - .linteverythingrc.js wrong
export default { verbose: true }correct// .linteverythingrc.js module.exports = { verbose: true } - CLI wrong
linteverythingcorrectnpx linteverything
Quickstart
// Install
npm install linteverything --save-dev
// Create .linteverythingrc.js
module.exports = {
ignore: ['node_modules', '.git'],
verbose: true
};
// In Node.js
const linteverything = require('linteverything');
linteverything({ verbose: true }).then(result => {
console.log(result);
});