An ESLint custom formatter that transforms standard lint output into structured, directive-rich prompts for AI tools. Version 0.1.1 (experimental) converts ESLint violations into grouped, actionable instructions telling AI what to fix and why, reducing noise and improving automated fix accuracy. Key differentiators: includes per-rule directive context, a mandatory fix header, minimum token usage via grouping, and full customizability of messages. Requires ESLint >=8.x. Ships TypeScript types. Early release with evolving API.
npm install eslint-formatter-prompterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows CLI usage and programmatic ESM usage with custom messages.
Pipe output to a file or use pager (less). Example: eslint --format prompter . | less
Install the package exactly as named; do not rename. CLI format argument is 'prompter' (without prefix).
Check the latest README or type definitions before upgrading.
Use import syntax or configure Node.js to treat .js files as ESM.
Subscribe to GitHub releases for API changes.
Run `pnpm add --save-dev eslint-formatter-prompter` (or npm/yarn equivalent) and ensure the format argument is exactly 'prompter'.
Use `import prompter from 'eslint-formatter-prompter'` in ESM. For CJS, use `const prompter = require('eslint-formatter-prompter').default` or switch to ESM.Upgrade ESLint to >=8.0.0 and verify the package is installed. Try `npx eslint --format prompter .`.
Ensure package name is exactly 'eslint-formatter-prompter' and run `npm ls eslint-formatter-prompter` to verify install.