Registry /
testing / eslint-plugin-file-progress-2
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
muslnode 18–226 runs
build_error
glibcnode 18–226 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
}
}
}
];
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.
fixUse `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.
fixSwitch 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.
fixUse `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.
fixUpgrade Node to v22 or later.
Audit
Dependencies
eslintrequiredpeer dependency for plugin integration
typescriptoptionalpeer dependency for TypeScript support