{"id":19635,"library":"eslint-formatter-autolinkable-stylish","title":"eslint-formatter-autolinkable-stylish","description":"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.","status":"active","version":"1.4.0","language":"javascript","source_language":"en","source_url":"https://github.com/a-tarasyuk/eslint-formatter-autolinkable-stylish","tags":["javascript","eslint","eslint-formatter","eslint-formatter-autolinkable-stylish","typescript"],"install":[{"cmd":"npm install eslint-formatter-autolinkable-stylish","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-formatter-autolinkable-stylish","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-formatter-autolinkable-stylish","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required to use the formatter","package":"eslint","optional":false}],"imports":[{"note":"This package does not export ESM; require() is the correct usage.","wrong":"import stylish from 'eslint-formatter-autolinkable-stylish'","symbol":"default","correct":"const stylish = require('eslint-formatter-autolinkable-stylish')"}],"quickstart":{"code":"// Install: npm i -D eslint eslint-formatter-autolinkable-stylish\n// Run ESLint with the formatter:\neslint --format=autolinkable-stylish src/\n\n// Or via .eslintrc (not recommended for formatters):\n// Not supported in config file; only CLI.","lang":"javascript","description":"Shows how to install and use the formatter via ESLint CLI."},"warnings":[{"fix":"Use require() instead.","message":"The formatter does not export an ESM module; using import will fail.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use a hyperlink-compatible terminal.","message":"Hyperlinks 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.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use the CLI or eslint.executeOnFiles() with the formatter name string.","message":"The formatter is only usable via CLI --format flag; it cannot be used directly from Node.js code.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run npm install --save-dev eslint-formatter-autolinkable-stylish","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'eslint-formatter-autolinkable-stylish'"},{"fix":"Use exactly --format=autolinkable-stylish","cause":"Typo in the format name.","error":"Error: Invalid option '--format' - perhaps you meant '--format=autolinkable-stylish'?"},{"fix":"Use const stylish = require('eslint-formatter-autolinkable-stylish');","cause":"Using import instead of require in a Node.js script.","error":"TypeError: formatter is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}