Closed
Bug 1605995
Opened 4 years ago
Closed 4 years ago
Add linting rule to prevent using relative paths in DevTools require calls
Categories
(DevTools :: General, task, P3)
DevTools
General
Tracking
(firefox74 fixed)
RESOLVED
FIXED
Firefox 74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(1 file)
In Bug 1596686 we migrated all devtools require calls to use absolute paths. This bug is about enforcing this via linting, which implies creating a new eslint rule. We "could" reuse reject-some-requires but it would make it hard to maintain, so a new rule seems easier to handle in the long run.
(edit: forgot to add a summary when creating the bug, sorry)
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D58243
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82bca3b583c8 Add linting rule against relative paths in DevTools require r=Standard8
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in
before you can comment on or make changes to this bug.
Description
•