Closed
Bug 1843797
Opened 2 years ago
Closed 2 years ago
Add ESLint rule to reject ChromeUtils.import
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox118 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
(In reply to Mark Banner (:standard8) (afk until 24th July) from bug 1835030 comment #0)
As esm-ification is getting nearer to completion, we'll need to additionally update imports in
.html/.xhtmlfiles.They look fairly simple, so we might be able to use a ESLint rule on a lot of them to do the initial fixing, and then maybe land just the rule (without the auto-fix) to stop any new ones being added.
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D183695
Updated•2 years ago
|
Attachment #9344109 -
Attachment description: WIP: Bug 1843797 - Add ESLint rule to reject ChromeUtils.import. → Bug 1843797 - Add ESLint rule to reject ChromeUtils.import.
Updated•2 years ago
|
Attachment #9344109 -
Attachment description: Bug 1843797 - Add ESLint rule to reject ChromeUtils.import. → WIP: Bug 1843797 - Add ESLint rule to reject ChromeUtils.import.
Updated•2 years ago
|
Attachment #9344109 -
Attachment description: WIP: Bug 1843797 - Add ESLint rule to reject ChromeUtils.import. → Bug 1843797 - Add ESLint rule to reject ChromeUtils.import. r?Standard8!
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/9f0c33658467
Add ESLint rule to reject ChromeUtils.import. r=Standard8
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•