Closed
Bug 1745030
Opened 4 years ago
Closed 4 years ago
ES Lint incorrectly reports structuredClone as undefined in js files.
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox97 fixed)
RESOLVED
FIXED
97 Branch
| Tracking | Status | |
|---|---|---|
| firefox97 | --- | fixed |
People
(Reporter: bigiri, Assigned: standard8)
References
Details
Attachments
(1 file)
ES Lint incorrectly reports structuredClone as undefined in JS files.
In the patch for Bug 1733621 I had to use // eslint-disable-next-line no-undef to use structuredClone without linting errors.
Comment 1•4 years ago
|
||
Mark, do you know how to fix this - do we need to just wait for a newer eslint/node version to have a better idea of ES.next globals, or do we already have a mozilla-specific list of additions or similar?
Flags: needinfo?(standard8)
| Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d0ae77b4e5e2
Improve structure and documentation around globals defined in eslint-plugin-mozilla and add structuredClone. r=Gijs
| Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(standard8)
Comment 4•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox97:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Updated•3 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
•