A CLI tool and Node.js API to selectively apply ESLint auto-fixes, allowing control over which rules are fixed or to exclude warnings. Version 0.3.0 (latest) supports ESLint >=7.0.0, with async API. Unlike ESLint's built-in --fix, it enables fixing individual rules (--rule) or disabling warning fixes (--no-warnings), producing focused commits. It wraps ESLint's fix functionality and requires an existing ESLint configuration. Release cadence is low; last release was v0.3.0 in 2021.
npm install eslint-filtered-fixVerified import paths — ran on the pinned version, not inferred.
Fix only 'semi' and 'quotes' rules in src/ while ignoring warnings.
Use `await fix(files, opts)` or handle promise with `.then()`.
Upgrade ESLint to version 7.0.0 or higher, or use eslint-filtered-fix @0.1.x.
Write --rule [rule1,rule2] without spaces inside the brackets.
Omit --no-warnings to see all warnings; use --rule to fix only specific rules instead.
Consider migrating to ESLint 8 or 9; check for updates or alternatives like eslint-nibble.
Run `npm install --save-dev eslint-filtered-fix`
Use `import { fix } from 'eslint-filtered-fix'` or `const { fix } = require('eslint-filtered-fix')`Upgrade ESLint to version 7+ or use eslint-filtered-fix@0.1.x for ESLint 6.