A modified version of the ESLint stylish formatter that makes file paths clickable/autolinkable in terminals (e.g., WebStorm, VS Code, iTerm2). Version 1.0.1 is current; no recent updates. It wraps the standard stylish formatter and converts file paths to clickable links using ANSI escape codes. Unlike the default stylish formatter, this helps developers quickly jump to files with lint errors. Intended for ESLint CLI usage or programmatic integration with ESLint's API.
npm install eslint-formatter-filelink-stylishNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install and use the formatter both via CLI and programmatically with ESLint.
Migrate to ESLint's new Flat API: const { ESLint } = require('eslint'); const formatter = require('eslint-formatter-filelink-stylish'); const eslint = new ESLint({ overrideConfigFile: true });Use alternative formatter or wrap the package to accept ESLint 9's result format.
Ensure the input matches the old format: [{ filePath, messages, ... }].Install as dev dependency: npm install --save-dev eslint-formatter-filelink-stylish
Use exact name: eslint -f filelink-stylish. Ensure package is installed locally.
Use const formatter = require('eslint-formatter-filelink-stylish'); instead of import * as.