An ESLint plugin (v2.2.0) that wraps ESLint core and custom rules to provide autofix functionality. It converts original fixable rules into autofixable versions by applying fixes automatically. Requires Node.js >=18 and ESLint >=8. The plugin prefixes rule names with 'autofix/' and includes a wide range of ESLint built-in rules. Released as part of a monorepo with similar plugins like eslint-plugin-no-autofix. Supports ESLint v9 as of v2.0.0. Differentiator: enables autofix for rules that are normally not fixable, but does not modify the original rule behavior.
Verified import paths — ran on the pinned version, not inferred.
ESM import is preferred; CommonJS require still works but import is recommended for modern projects.
The plugin is a default export, not named exports. Access rules via autofix.rules.
Configs are exported as part of the default object. Use autofix.configs to access recommended config.
Example ESLint configuration using eslint-plugin-autofix to enable autofix for no-debugger and no-unused-vars rules.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.