Closed
Bug 1792398
Opened 3 years ago
Closed 3 years ago
Enable ESLint rule strict on mjs / module files
Categories
(Developer Infrastructure :: Lint and Formatting, task, P2)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox107 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
The ESLint strict rule, will disallow "use strict";
in files it knows are modules.
Since modules are run in strict mode already, the "use strict";
directive is not necessary.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/849faf753208
Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Comment 3•3 years ago
|
||
Backed out for bc failures on browser_sendQuery.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4dac14712a2f3f3bc3fe8e4d488d44010c52f74a
Log link: https://treeherder.mozilla.org/logviewer?job_id=391507527&repo=autoland&lineNumber=8230
Flags: needinfo?(standard8)
Assignee | ||
Comment 4•3 years ago
|
||
Thanks, I've updated the line number to match the file change.
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0679274d6ed5
Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Comment 6•3 years ago
|
||
Backed out changeset 0679274d6ed5 (Bug 1792398) for causing bc failures on browser_sendQuery.js.
Backout link
Push with failures <--> bc9
Failure Log
Flags: needinfo?(standard8)
Assignee | ||
Comment 7•3 years ago
|
||
Sorry, didn't spot there was two related tests failing the same way. Pushing to try this time.
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8bce21098fc4
Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Comment 9•3 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•