Registry / testing / eslint-formatter-lint-diff-line-formatter

eslint-formatter-lint-diff-line-formatter

JSON →
library1.0.5jsnpmunverified

A custom ESLint formatter that outputs lint results with diff-line formatting, designed to integrate with lint-diff-line workflows. Version 1.0.5 is the current stable release. This package has minimal overhead and no significant release cadence. It is a niche formatter for users who want to see ESLint results in a git-diff style, with line-by-line changes. It does not have specific differentiators beyond its unique output format.

npm install eslint-formatter-lint-diff-line-formatter
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-L
E
eslint-formatter-lint-diff-line-formatter
testingjavascriptv1.0.5
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.

default
import formatter from 'eslint-formatter-lint-diff-line-formatter';
const formatter = require('eslint-formatter-lint-diff-line-formatter');
ES module import is preferred. The package does not provide a default export for CommonJS require; require may not work.

This shows how to import the formatter and use it with the ESLint API to produce diff-line formatted output.

import formatter from 'eslint-formatter-lint-diff-line-formatter'; import { ESLint } from 'eslint'; const eslint = new ESLint(); const results = await eslint.lintFiles(['src/**/*.js']); const output = formatter(results); console.log(output);
Debug
Known issues
gotchaNo documentation or examples available in the package repository.
fix
Refer to the source code or the lint-diff-line ecosystem for usage context.
affects: >=1.0.0
gotchaPackage has very low adoption and may be abandoned.
fix
Consider using another ESLint formatter or contributing to the project.
affects: >=1.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
The package is ESM-only and cannot be used with require() in CommonJS environments.
fix
Use import syntax or dynamic import().
Upgrade
Version history
1.0.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
eslint-formatter-lint-diff-line-formatter — npm install eslint-formatter-lint-diff-line-formatter · libregistry