CLI tool that lints entire codebase with a single command, bundling multiple linters (ESLint, ls-lint, dprint, Biome). Deprecated since v7.0.0 in favor of smartlint-unix. Built-in dependencies: eslint, ls-lint, dprint, biome. Peer dependencies: @stoplight/spectral-cli, dockerfilelint, stylelint, prettier (note: some contain known security issues). Requires Node >=18.20.3. Ships TypeScript definitions.
npm install smartlintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add smartlint as a script in package.json and run it to lint the codebase with ESLint and Prettier.
Replace 'smartlint' with 'smartlint-unix' in package.json and run 'npm install smartlint-unix --save-dev'.
Upgrade Node.js to >=18.20.3.
Evaluate each peer dependency for security vulnerabilities. Consider alternatives if necessary.
Use npx or global installation to run the command.
Update scripts using 'markdown' linter to 'markdownlint'.
Run 'npx smartlint ...' or add 'smartlint' to scripts in package.json.
Upgrade Node.js to >=18.20.3 or use an older smartlint version.
Replace 'markdown' with 'markdownlint' in the --linters argument.