Closed
Bug 1489980
Opened 5 years ago
Closed 5 years ago
Enable ESLint for editor/
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(3 files)
As part of expanding ESLint around the tree we should do the same for editor. I think this only will affect test files. I'm currently working on a series of patches to do this.
Assignee | ||
Comment 1•5 years ago
|
||
Also block-disables no-multi-spaces for test_resizers_resizing_elements.html
Assignee | ||
Comment 2•5 years ago
|
||
These are all automatically generated by ESLint with the --fix option. Depends on D5584
Assignee | ||
Comment 3•5 years ago
|
||
This enables the editor directory to be linted, and fixes the remaining issues raised by ESLint. Various rules were fixed here including, no-shadow, no-undef, no-unused-vars and others. I've generally gone conservative, disabling rules where it doesn't make sense to fix them (e.g. sometimes suggests use-services for tests, but it is only used once, or within a Chrome script). Depends on D5585
Assignee | ||
Comment 4•5 years ago
|
||
Try push for the three patches combined: https://treeherder.mozilla.org/#/jobs?repo=try&revision=222a91fbfe467ce34ad7738dc5aa878cdb2cf803
Comment 5•5 years ago
|
||
Comment on attachment 9008191 [details] Bug 1489980 - Editor ESLint for editor/ - Initial setup adding configs for tests. Masayuki Nakano [:masayuki] (JST, +0900) (offline: 9/21-9/30) has approved the revision.
Attachment #9008191 -
Flags: review+
Comment 6•5 years ago
|
||
Comment on attachment 9008194 [details] Bug 1489980 - Enable ESLint for editor/ - Manual fixes. Masayuki Nakano [:masayuki] (JST, +0900) (offline: 9/21-9/30) has approved the revision.
Attachment #9008194 -
Flags: review+
Comment 7•5 years ago
|
||
Makoto-san should know this change.
Updated•5 years ago
|
Priority: -- → P3
Comment 8•5 years ago
|
||
When do you land them? These patches are block my work/landings...
Flags: needinfo?(standard8)
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Masayuki Nakano [:masayuki] (JST, +0900) (offline: 9/21-9/30) from comment #8) > When do you land them? These patches are block my work/landings... Sorry, somehow I'd managed to miss requesting review from you on the second part, so I only requested that from you yesterday: https://phabricator.services.mozilla.com/D5585 Once that's reviewed, these will be ready to land.
Flags: needinfo?(standard8)
Comment 10•5 years ago
|
||
Ah, I see, I didn't realize the review request (I want r? sync with Phabricator and bugzilla). I'll do it soon (it needs really long time...)
Comment 11•5 years ago
|
||
Comment on attachment 9008192 [details] Bug 1489980 - Enable ESLint for editor/ - automatic fixes Masayuki Nakano [:masayuki] (JST, +0900) (offline: 9/21-9/30) has approved the revision.
Attachment #9008192 -
Flags: review+
Comment 12•5 years ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ea73513d7c25 Editor ESLint for editor/ - Initial setup adding configs for tests. r=masayuki https://hg.mozilla.org/integration/autoland/rev/de36f39840c6 Enable ESLint for editor/ - automatic fixes r=masayuki https://hg.mozilla.org/integration/autoland/rev/0d8eb8a0c2b4 Enable ESLint for editor/ - Manual fixes. r=masayuki
Comment 13•5 years ago
|
||
Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d081dbefe2f Enable ESLint for editor/ - Follow-up: Remove unused Ci. r=eslint-fix on a CLOSED TREE
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ea73513d7c25 https://hg.mozilla.org/mozilla-central/rev/de36f39840c6 https://hg.mozilla.org/mozilla-central/rev/0d8eb8a0c2b4 https://hg.mozilla.org/mozilla-central/rev/4d081dbefe2f
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•