Open Bug 1950917 Opened 16 days ago Updated 20 hours ago

eslint's `--setup` switch seems to run the linter instead of setting it up

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bytesized, Unassigned, NeedInfo)

Details

I'm pretty confident that ./mach eslint --setup used to make sure eslint was properly installed. The --help text seems to indicate that it should. But it doesn't seem to work. Instead it does this:

> ./mach eslint --setup
warning: linting the entire repo takes a long time, using --outgoing and --workdir instead. If you want to lint the entire repo, run `./mach lint .`

But I don't want it to lint anything. I just want it to check that my linter configuration is up-to-date.

This is on Windows, if that matters.

The severity field is not set for this bug.
:andi, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bpostelnicu)
You need to log in before you can comment on or make changes to this bug.