Add ESLint 4 support to eslint-plugin-mozilla

RESOLVED FIXED in Firefox 56

Status

enhancement
RESOLVED FIXED
2 years ago
8 months ago

People

(Reporter: standard8, Assigned: standard8)

Tracking

3 Branch
mozilla56
Dependency tree / graph

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

We can't yet update everything in m-c to ESLint 4, but we can start getting support for it into eslint-plugin-mozilla.

The react plugin is also an easy upgrade, so lets do that as well.
So the npm 5 issues I've mentioned in bug 1371293 got in the way of being able to update the react plugin. So I've dropped that and we'll just get the patches in for supporting ESLint 4 from eslint-plugin-mozilla. At least sub-projects will be able to use the newer version ;-)

This version seems to work with both ESLint 3 & 4, so the existing tree will keep working, and the code seems a bit simpler :-)
Summary: Add ESLint 4 support to eslint-plugin-mozilla and upgrade eslint-plugin-react to support ESLint 4 → Add ESLint 4 support to eslint-plugin-mozilla
Comment on attachment 8880433 [details]
Bug 1375418 - Add eslint 4 support to eslint-plugin-mozilla.

https://reviewboard.mozilla.org/r/151790/#review157752
Attachment #8880433 - Flags: review?(dtownsend) → review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/60d67235b352
Add eslint 4 support to eslint-plugin-mozilla. r=mossop
https://hg.mozilla.org/mozilla-central/rev/60d67235b352
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
You need to log in before you can comment on or make changes to this bug.