Closed
Bug 1950917
Opened 4 months ago
Closed 2 months ago
eslint's `--setup` switch seems to run the linter instead of setting it up
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox140 fixed)
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: bytesized, Assigned: standard8)
Details
Attachments
(1 file)
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.
Comment 1•4 months ago
|
||
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)
Updated•3 months ago
|
Severity: -- → S3
Flags: needinfo?(bpostelnicu)
Assignee | ||
Comment 2•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9da6ed50cc51
Avoid warning about linting the entire repo when only running setup. r=linter-reviewers,ahal
Comment 4•2 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•