Closed Bug 1271706 Opened 8 years ago Closed 8 years ago

Warn when eslint is outdated

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

It is quite easy to have an outdated eslint and leads to weird issues.
It would be great if mach was telling us more about that.
Attached patch patch v1Splinter Review
I also replaced WindowsError by OSError as it throws on linux.
I'm not a python expect, but I imagine we do not have to be specific about WindowsError?
Attachment #8750863 - Flags: review?(gps)
Blocks: 1266364
Comment on attachment 8750863 [details] [diff] [review]
patch v1

Review of attachment 8750863 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM
Attachment #8750863 - Flags: review?(gps) → review+
Bug 1270851 does this and more and only needs review... just saying.
Not exactly that. It checks that the version within npm, but not the final binary you are running.
Which was the main issue I had locally.
npm was up-to-date, but another version was old and took the lead in my PATH.
Would you mind rebasing on top of this?
I imagine both our patches are valuable.
Flags: needinfo?(mratcliffe)
Sure, I can do that and make use of your version reporting.
Flags: needinfo?(mratcliffe)
https://hg.mozilla.org/mozilla-central/rev/5cc872323d17
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Product: Testing → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: