Remove eslint specific for devtool's mochitests
Categories
(DevTools :: General, task)
Tracking
(firefox89 fixed)
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 2 open bugs, )
Details
Attachments
(9 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
DevTools mochitests are running with some specific config:
https://searchfox.org/mozilla-central/source/devtools/.eslintrc.mochitests.js#10-33
Some rules like JSX looks pure legacy and can be removed
and many others looks like things that should be addressed instead of being workaround via a custom rule.
| Assignee | ||
Comment 1•5 years ago
•
|
||
Bug 1564431 would have helped making the following pattern matching work:
https://searchfox.org/mozilla-central/source/.eslintrc.js#26
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 5•5 years ago
|
||
| Assignee | ||
Comment 6•5 years ago
|
||
| Assignee | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
| Assignee | ||
Comment 10•5 years ago
|
||
I kept a few having some overrides. But they may be irrelevant.
And I kept some eslint files for all folder that aren't matching the pattern matching "/test*//browser*/".
Ideally we would rename these folder to match.
Last but not least, I identified one case where we were using mochitest file for xpcshell tests!
| Assignee | ||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eeb59dd8939f
https://hg.mozilla.org/mozilla-central/rev/039a01c906b0
https://hg.mozilla.org/mozilla-central/rev/bab0a5372c7f
https://hg.mozilla.org/mozilla-central/rev/34bdea224bf1
https://hg.mozilla.org/mozilla-central/rev/7582b10727ee
https://hg.mozilla.org/mozilla-central/rev/a6cba7972cd7
https://hg.mozilla.org/mozilla-central/rev/ab0345c22e40
https://hg.mozilla.org/mozilla-central/rev/13af1d6187c5
https://hg.mozilla.org/mozilla-central/rev/a667260c7e49
Description
•