Utils for managing and manipulating ESLint flat config arrays. Current stable version is 3.1.0, released actively by antfu. Provides helpers like concat (flatten and merge configs/promises), composer (chainable API for appending, prepending, inserting, renaming plugins, overriding rules, removing rules, and disabling rule fixes), and resolveExtends for extending configs. Differentiators: chainable composer extends Promise for direct use in eslint.config.mjs; renamePlugins, removeRules, disableRulesFix are unique helpers not found in standard ESLint utilities. ESM-only since v2.0.0, TypeScript-ready with shipped types, and supports @eslint/config-helpers for extends resolution since v3.0.0.
npm install eslint-flat-config-utilsVerified import paths — ran on the pinned version, not inferred.
Chain composer to merge, rename and remove rules in ESLint flat config.
Convert require() to import statements and ensure package.json has 'type': 'module'.
Update code to use new resolveExtends signature or update imports if previously using older version.
Always await/reassign the composer result to get the renamed config.
Test with targeted plugins; consider alternative like overriding rule options with meta.fixable: null if supported.
Ensure @eslint/config-helpers is installed if using extends in config files.
Use dynamic import() or switch to ESM: add 'type': 'module' to package.json and replace require() with import.
Ensure the composer chain is properly written: await composer(...).append(...); or use the fluent API synchronously.
Install the package: npm install eslint-flat-config-utils. For TypeScript, ensure tsconfig.json includes 'moduleResolution': 'node' or 'bundler'.
Use import { concat } from 'eslint-flat-config-utils' or call dynamic import().No dependency data recorded yet.