Registry / testing / eslint-formatter-i

eslint-formatter-i

JSON →
library0.1.6jsnpmunverified

eslint-formatter-i (v0.1.6) is an interactive browser-based tool to inspect ESLint formatter output. It provides a terminal-style UI, multi-theme switching, code highlighting, launch editor support, and glob pattern search. It supports static builds for deploying as a SPA. Different from standard text formatters, it offers a visual, interactive inspection experience. Released under MIT, maintained actively on GitHub.

npm install eslint-formatter-i
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-I
E
eslint-formatter-i
testingjavascriptv0.1.6
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.

default
import eslintFormatterI from 'eslint-formatter-i'
const eslintFormatterI = require('eslint-formatter-i')
Package is ESM-only. CommonJS require will fail.
default
const eslintFormatterI = require('eslint-formatter-i')
import { eslintFormatterI } from 'eslint-formatter-i'
Package exports a default function, not a named export.

Install the formatter, run ESLint with -f i, view interactive output in browser.

// 1. Install the package git init && npm init -y npm install eslint eslint-formatter-i --save-dev // 2. Create a file with some lint issues echo "const x = 1;" > test.js // 3. Run ESLint with the formatter npx eslint test.js --format i // 4. Open the provided URL in browser to inspect output
Debug
Known issues
gotchaRequires ESLint 7+ as peer dependency, but no explicit peer dependency is listed.
fix
Ensure ESLint is installed: npm install eslint@^7.0.0
affects: >=0.0.0
gotchaWhen using INSPECTOR_MODE=build, the generated SPA is placed in .eslint-formatter-inspector folder; ignore the folder in version control.
fix
Add .eslint-formatter-inspector to .gitignore
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-formatter-i'
Package not installed or missing from node_modules
fix
Run npm install eslint-formatter-i --save-dev
Error: 'eslint-formatter-i' is not a valid formatter
Using an older ESLint version that does not support formatter modules
fix
Upgrade ESLint to v7+: npm install eslint@^7.0.0
Upgrade
Version history
0.1.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
eslint-formatter-i — npm install eslint-formatter-i · libregistry