Closed
Bug 1431069
Opened 7 years ago
Closed 7 years ago
Make eslint deal with ChromeUtils-imported globals
Categories
(Developer Infrastructure :: Lint and Formatting, enhancement)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
Attachments
(1 file)
In bug 1425611 and deps we're switching from Cu.import to ChromeUtils.import .
To facilitate this, we need eslint to understand that they're effectively equivalent.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8943240 [details]
Bug 1431069 - allow eslint to deal with ChromeUtils imports,
https://reviewboard.mozilla.org/r/213568/#review219680
Attachment #8943240 -
Flags: review?(standard8) → review+
Comment 3•7 years ago
|
||
Hmm, so I just realised we should update our other rules as well - no-import-into-var-and-global and no-single-arg-cu-import - otherwise we run the risk of regressing with ChromeUtils. The tests for those should also be updated.
I'd like that to be done before we start migrating everyone across.
Flags: needinfo?(gijskruitbosch+bugs)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #3)
> Hmm, so I just realised we should update our other rules as well -
> no-import-into-var-and-global and no-single-arg-cu-import - otherwise we run
> the risk of regressing with ChromeUtils. The tests for those should also be
> updated.
>
> I'd like that to be done before we start migrating everyone across.
Ah, good points. Done. :-)
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/046fb034b323
allow eslint to deal with ChromeUtils imports, r=standard8
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Product: Testing → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•