Registry / development / eslint-formatter-interactive

eslint-formatter-interactive

JSON →
library1.1.0jsnpmunverified

eslint-formatter-interactive is an ESLint formatter (v1.1.0) that provides an interactive terminal interface to navigate and inspect large numbers of lint issues. It summarizes results and allows grouping by rule or file, then shows detailed output via ESLint's stylish formatter. Requires eslint >=8.40.0 and an interactive shell (not suitable for CI). It is intended to be installed with --no-save and used via npx. Differentiates from eslint-nibble by offering group selection and planned autofix integration.

npm install eslint-formatter-interactive
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-I
E
eslint-formatter-interactive
developmentjavascriptv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-formatter-interactive
npx eslint . --format interactive
import formatter from 'eslint-formatter-interactive'
This package is an ESLint formatter, not a library. Invoke it via the --format flag. Do not attempt to import it programmatically.

Installs eslint-formatter-interactive without saving to package.json, then runs ESLint on the current directory using the interactive formatter.

# Install temporarily (no-save) npm install --no-save eslint-formatter-interactive # Run ESLint with the interactive formatter npx eslint . --format interactive
Debug
Known issues
gotchaInteractive formatter requires a TTY; fails silently or with errors in non-interactive environments (CI, pipelines).
fix
Only use in local development. Do not include in lint scripts run by CI.
affects: >=0.0.0
gotchaInstall with --no-save to avoid polluting package.json. This formatter is not intended for permanent project dependencies.
fix
Use `npm install --no-save eslint-formatter-interactive` or run via `npx` without installing.
affects: >=0.0.0
deprecatedPeer dependency on eslint >=8.40.0. Older ESLint versions are not supported.
fix
Upgrade ESLint to version 8.40.0 or later.
affects: <8.40.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint/use-at-your-own-risk'
The formatter uses an internal ESLint API that may not be stable across minor versions. This error occurs with ESLint 9+ or incompatible versions.
fix
Ensure ESLint is >=8.40.0 and <9.0.0. Consider pinning ESLint to a compatible version.
TypeError: clui is not a constructor
Missing or incompatible dependency 'clui' when running in a context without the expected CLI utilities.
fix
Reinstall the package: `npm install --no-save eslint-formatter-interactive`.
The formatter 'interactive' is not known.
Forgot to install the package or used a misspelled formatter name. ESLint requires the formatter module to be installed.
fix
Run `npm install --no-save eslint-formatter-interactive` first, then use `--format interactive`.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
eslintrequiredPeer dependency; the formatter relies on ESLint's formatter API (>=8.40.0).
Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
2
Perplexity
1
Resources
eslint-formatter-interactive — npm install eslint-formatter-interactive · libregistry