Registry / testing / eslint-plugin-file-progress-2

eslint-plugin-file-progress-2

JSON →
library5.1.0jsnpmunverified

ESLint plugin that prints real-time file processing progress and detailed summaries during lint runs. Version 5.1.0 (stable, released April 2026) requires Node >=22 and ESLint ^9.0.0 || ^10.2.1. Supports TypeScript with full type declarations. Key differentiators: customizable prefix marks, directory name hiding, prefix hiding, dual ESM/CJS exports, and presets like 'recommended-detailed' for throughput metrics. Active development with frequent releases.

npm install eslint-plugin-file-progress-2
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-FILE
E
eslint-plugin-file-progress-2
testingjavascriptv5.1.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
import plugin from 'eslint-plugin-file-progress-2'
const plugin = require('eslint-plugin-file-progress-2')
ESM-only since v5; CJS users must use dynamic import or upgrade to Node >=22 with --experimental-require-module.
rules
import { rules } from 'eslint-plugin-file-progress-2'
const { rules } = require('eslint-plugin-file-progress-2')
Named export for rules object; CJS require will throw in v5+.
configs
import { configs } from 'eslint-plugin-file-progress-2'
import configs from 'eslint-plugin-file-progress-2/configs'
Configs are a named export from the main entry point, not a separate path.
PluginConfig
import type { PluginConfig } from 'eslint-plugin-file-progress-2'
TypeScript type export available for configuring plugin settings.

Shows ESLint flat config with plugin import, recommended preset, and custom progress settings.

import plugin from 'eslint-plugin-file-progress-2'; import { configs } from 'eslint-plugin-file-progress-2'; export default [ ...configs.recommended, { plugins: { 'file-progress-2': plugin }, settings: { progress: { prefixMark: '⏳', successMark: '✅', failureMark: '❌', hidePrefix: false, hideDirectoryNames: false, fileNameOnNewLine: false } } } ];
Debug
Known issues
breakingVersion 5.0.0 changed plugin entry to ESM-only; CJS require() will fail.
fix
Use dynamic import() or switch to ESM in your project.
affects: >=5.0.0
breakingNode.js >=22.0.0 required as of v5; older versions will not work.
fix
Upgrade Node.js to v22 or later.
affects: >=5.0.0
deprecatedThe `progress.prefixMark` option was added in v3.4.0; previous customization of prefix symbol is no longer supported.
fix
Use `settings.progress.prefixMark` instead of overriding the prefix directly.
affects: <3.4.0
gotchaThe prefix mark defaults to a checkmark/cross; if you set a custom prefixMark, ensure it does not conflict with success/failure marks.
fix
Set prefixMark to a unique character or emoji.
affects: >=3.4.0
gotchaDual export map (main/module) in v3.4.3 may cause resolution issues in some bundlers if both fields are present.
fix
Use explicit imports from the ESM path (index.js) for bundlers.
affects: 3.4.3
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/eslint-plugin-file-progress-2/dist/index.js from /path/to/project/file.js not supported.
CJS require() used with v5 ESM-only plugin.
fix
Use `import plugin from 'eslint-plugin-file-progress-2'` or set `type: 'module'` in package.json.
TypeError: Cannot destructure property 'rules' of 'require(...)' as it is undefined.
CJS require() of plugin returns undefined because v5 is ESM-only.
fix
Switch to ESM import syntax: `import { rules } from 'eslint-plugin-file-progress-2'`.
Error: Cannot find module 'eslint-plugin-file-progress-2/configs'
Importing configs from a subpath instead of main entry.
fix
Use `import { configs } from 'eslint-plugin-file-progress-2'` directly.
The engine "node" is incompatible with this module. Expected version ">=22.0.0". Got "18.0.0"
Node version below 22.
fix
Upgrade Node to v22 or later.
Upgrade
Version history
5.1.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency for plugin integration
typescriptoptionalpeer dependency for TypeScript support
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-plugin-file-progress-2 — npm install eslint-plugin-file-progress-2 · libregistry