recommended
Use this preset when you want standard per-file progress during local ESLint CLI runs.
import progress from "eslint-plugin-file-progress-2";
export default [progress.configs.recommended];
Demoâ
Notice how the default preset shows each file path live and then ends with a short success line.
Recorded with Asciinema Recorder and Agg
Recommended + option overridesâ
If you like the recommended baseline but want to tune specific behavior, keep
the preset and layer a rule override after it.
import progress from "eslint-plugin-file-progress-2";
export default [
progress.configs.recommended,
{
rules: {
"file-progress/activate": [
"warn",
{
fileNameOnNewLine: true,
pathFormat: "basename",
throttleMs: 120,
},
],
},
},
];
With fileNameOnNewLine: true, the live output format changes from a single
line into a two-line layout like this:
eslint-plugin-file-progress-2 âą linting
âł file-07.js
What it enablesâ
- registers the
file-progressplugin - enables
file-progress/activateatwarn - leaves all rule options at their defaults
This is the best starting point for most local terminal workflows.
