Skip to main content

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​

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​

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 to stdout or stderr.

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.