ESLint formatter that exports lint diagnostics in LSIF (Language Server Index Format) format. v1.0.3 (latest). Stable, low activity since 2020. Uses vscode-languageserver-protocol and vscode-languageserver-textdocument. Outputs JSON-based diagnostic data for use with Sourcegraph and other LSIF-compatible code intelligence tools. Differentiates from ESLint's built-in formatters by producing machine-readable LSIF output for cross-repository code navigation.
npm install eslint-formatter-lsifVerified import paths — ran on the pinned version, not inferred.
Shows how to use the formatter programmatically after linting files.
Ensure results parameter is an array of LintResult objects.
Run 'npm install --save-dev eslint-formatter-lsif'