Registry / testing / eslint-formatter-autolinkable-stylish

eslint-formatter-autolinkable-stylish

JSON →
library1.4.0jsnpmunverified

An ESLint formatter that extends the default "stylish" formatter by making file paths, line numbers, and column numbers into clickable links in terminals that support hyperlinks. Version 1.4.0 is the latest stable release (no recent updates, likely stable). Supports ESLint 8 and 9. Differentiators: automatically generates hyperlinks without requiring IDE-specific plugins, works in VS Code, iTerm2, and other hyperlink-aware terminals.

npm install eslint-formatter-autolinkable-stylish
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-A
E
eslint-formatter-autolinkable-stylish
testingjavascriptv1.4.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

default
const stylish = require('eslint-formatter-autolinkable-stylish')
import stylish from 'eslint-formatter-autolinkable-stylish'
This package does not export ESM; require() is the correct usage.

Shows how to install and use the formatter via ESLint CLI.

// Install: npm i -D eslint eslint-formatter-autolinkable-stylish // Run ESLint with the formatter: eslint --format=autolinkable-stylish src/ // Or via .eslintrc (not recommended for formatters): // Not supported in config file; only CLI.
Debug
Known issues
gotchaThe formatter does not export an ESM module; using import will fail.
fix
Use require() instead.
affects: >=0.0.0
gotchaHyperlinks require a terminal that supports the OSC 8 escape sequence (e.g., iTerm2, VS Code terminal). Standard terminals like cmd.exe or plain xterm may not work.
fix
Use a hyperlink-compatible terminal.
affects: >=0.0.0
gotchaThe formatter is only usable via CLI --format flag; it cannot be used directly from Node.js code.
fix
Use the CLI or eslint.executeOnFiles() with the formatter name string.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-formatter-autolinkable-stylish'
Package not installed or not in node_modules.
fix
Run npm install --save-dev eslint-formatter-autolinkable-stylish
Error: Invalid option '--format' - perhaps you meant '--format=autolinkable-stylish'?
Typo in the format name.
fix
Use exactly --format=autolinkable-stylish
TypeError: formatter is not a function
Using import instead of require in a Node.js script.
fix
Use const stylish = require('eslint-formatter-autolinkable-stylish');
Upgrade
Version history
1.4.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required to use the formatter
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-formatter-autolinkable-stylish — npm install eslint-formatter-autolinkable-stylish · libregistry