Closed
Bug 1778107
Opened 2 years ago
Closed 2 years ago
Move storybook code to use mjs files, rather than defining sourceType for ESLint
Categories
(Firefox :: General, task, P3)
Firefox
General
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
With the transition to using ES modules rather than JSMs getting started, we are now using the .mjs
extension for those files.
We'd like to transition our content code that is using modules to use the .mjs
extension as well - the primary gains of this are that we a) don't need to manually specify sourceType: module
for ESLint, b) this gives a visual distinction to developers that the file is a module rather than a regular JavaScript file.
This bug is for the storybook files.
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D161259
Updated•2 years ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/557b2781b4fe
Move storybook code to use mjs files, rather than defining sourceType for ESLint. r=mstriemer
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•