recommended-tty
Use this preset when the config is shared across interactive terminals and non-interactive environments, and progress should only appear on a TTY.
import progress from "eslint-plugin-file-progress-2";
export default [progress.configs["recommended-tty"]];
Demoâ
Notice that the full command is visible immediately, but no plugin output appears because the capture is intentionally non-interactive.
This demo intentionally records a non-interactive capture. Because this preset sets ttyOnly: true, the plugin stays quiet when no TTY is available.
Recorded with Asciinema Recorder and Agg
What it changesâ
It enables file-progress/activate with:
{
ttyOnly: true,
}
This is usually the safest preset for shared local/editor/automation configurations.