A codemod that automatically adds per-line lint suppression comments (e.g., eslint-disable-next-line, @glint-expect-error) for every lint error in your codebase. The current stable version is 0.10.0, with releases occurring weekly or as needed. It supports ESLint v9, Glint v2, Stylelint v17, and TypeScript v5, and is Node.js v22+. Unlike other tools that use global file-level ignores, this codemod adds a local comment per error, providing a more accurate count of issues and preserving linting for clean code. It requires pnpx to run and a separate formatting step after execution.
npm install ignore-lint-errorsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Run the codemod to add eslint-disable-next-line comments for all ESLint errors in the app directory, then fix formatting with Prettier.
Upgrade Node.js to v22 or later.
Always pass `--linter eslint`, `--linter stylelint`, or `--linter typescript`.
Run `pnpm prettier . --write` or equivalent after the codemod.
Clone the repo and run the codemod locally after customizing the source code.
Install locally: `pnpm add -D ignore-lint-errors`
Upgrade Node.js to v22 or later.
Use import syntax: `import { ignoreLintErrors } from 'ignore-lint-errors'`No dependency data recorded yet.