Registry / devops / eslint-formatter-vscode

eslint-formatter-vscode

JSON →
library0.1.6jsnpmunverified

An ESLint formatter that produces color-coated, VSCode-compatible output with severity, filepath, and ruleId. The current stable version is 0.1.6. It provides two output modes: a compact 'vscode' format and a detailed 'vscode/detailed' format that includes messages and file-level summaries. It is a lightweight, no-configuration formatter targeting developers who integrate ESLint with VSCode's problem matchers. Unlike other formatters, it generates output that VSCode can parse directly in terminal and problem panels.

npm install eslint-formatter-vscode
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-V
E
eslint-formatter-vscode
devopsjavascriptv0.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.

eslint-formatter-vscode
✓ eslint . --format vscode
This package is an ESLint formatter; use via ESLint's --format flag, not as a module import.
vscode/detailed
✓ eslint . --format vscode/detailed
✗ eslint . --format detailed
For detailed output, use 'vscode/detailed' as the format name.
eslint-formatter-vscode (npx)
✓ npx eslint './src/**/*.{js,ts,tsx,jsx}' -f vscode
Common usage via npx with glob pattern.

Run ESLint with the vscode formatter to display compact color-coated output.

npx eslint './src/**/*.{js,ts,tsx,jsx}' -f vscode
Debug
Known issues
gotchaThe formatter uses Node.js built-in colors, which may not be visible in some terminals.
fix
Ensure your terminal supports ANSI color codes.
affects: >=0.0.0
gotchaThe 'vscode/detailed' format name may not be recognized if the package is not installed correctly.
fix
Install eslint-formatter-vscode as a devDependency: npm install --save-dev eslint-formatter-vscode
affects: >=0.0.0
Errors
Common errors & fixes
Error: Invalid format 'vscode'
ESLint cannot find the formatter because the package is not installed.
fix
Run 'npm install --save-dev eslint-formatter-vscode' and ensure it's in node_modules.
TypeError: formatter is not a function
The package might be corrupted or incorrectly resolved.
fix
Reinstall the package: 'npm install eslint-formatter-vscode@latest --save-dev'
Upgrade
Version history
0.1.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

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