ESLint plugin that disables autofix for specific rules without turning them off entirely, allowing rules to report but not auto-fix. Version 6.1.1 supports ESLint 9 flat config exclusively, with proxy-based lazy loading for improved performance. Key differentiators: requires no manual prefix handling in flat config, automatically wraps rules to prevent autofix, and includes a `configure()` helper for easy setup. Active development, frequent releases.
npm install eslint-plugin-disable-autofixVerified import paths — ran on the pinned version, not inferred.
Flat config example: disables autofix for 'no-unused-vars' and 'semi' rules.
Migrate to flat config (eslint.config.js) or stay on v4.x for legacy ESLint 8 support.
Use `configure({ rules: ['rule-name'] })` instead of manually setting `'disable-autofix/no-autofix'`.Ensure eslint.config.js is used and eslint >=9.0.0 is installed.
Use the `configure` helper to automatically add prefixes.
Run `npm install eslint-plugin-disable-autofix --save-dev`.
Update to v6.1.1+ (npm update eslint-plugin-disable-autofix).
Ensure the plugin is added to `plugins` and use `'disable-autofix/no-autofix'` as the rule key.