Overview
eslint-plugin-file-progress-2 is intentionally narrow.
It does not lint code semantics. It only changes how ESLint reports progress in CLI-oriented workflows.
What the plugin includesâ
- one public rule:
- seven presets:
Primary configuration modelâ
The primary API is now rule options:
import progress from "eslint-plugin-file-progress-2";
export default [
{
plugins: {
"file-progress": progress,
},
rules: {
"file-progress/activate": [
"warn",
{
outputStream: "stderr",
throttleMs: 100,
ttyOnly: true,
},
],
},
},
];
The older settings.progress shape still works as a fallback, but it is deprecated.
Mode selectionâ
- Use
file-progress/activatewithmode: "file"when you want full per-file progress. - Use
file-progress/activatewithmode: "compact"when you want a live spinner without file-path churn. - Use
file-progress/activatewithmode: "summary-only"when you only want the final completion summary.
Notable optionsâ
For the full shared option reference, including the deprecated
hideDirectoryNames alias and the exact hide/summary interactions, read
activate.
ttyOnly: suppress output when the selected stream is not interactive.throttleMs: limit how frequently the file-progress line repaints.minFilesBeforeShow: avoid showing progress for short runs.showSummaryWhenHidden: keep the final summary even when live output is hidden.pathFormat: choose between relative paths and basenames.outputStream: send progress tostdoutorstderr.
What this plugin is not trying to doâ
- It does not report lint problems by itself.
- It does not change rule severity or lint semantics.
- It is not a formatter, JSON reporter, or percentage tracker.
Next stepâ
Continue with Getting Started to pick a preset or configure a rule directly.