Closed
Bug 1476228
Opened 7 years ago
Closed 7 years ago
Enforce comma-dangle eslint rule in Places
Categories
(Toolkit :: Places, enhancement, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: mak, Assigned: standard8)
Details
Attachments
(1 file)
I'd like to evaluate how much complex it would be to enforce
"comma-dangle": ["error", "always-multiline"],
in toolkit/components/places and browser/components/places
Preserving immediately visible blame is imo more important than subjective code aesthetics, and being consistent across the module is also worth it.
Assignee | ||
Comment 1•7 years ago
|
||
Shouldn't be too complex, though I wonder if we can convince browser/ & toolkit/ (or maybe all of m-c) to enable it.
Assignee | ||
Comment 2•7 years ago
|
||
Since we're a little quieter at the moment, and Marco has already said he'd like to see this done, then I've decided to pick this up and run with it.
This is pretty much all auto-fixable, apart from a few lines in .xml files.
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•7 years ago
|
||
MozReview-Commit-ID: K8HcZfyF4Sz
Comment 4•7 years ago
|
||
That's very welcome and it's good that it's auto-fixable. I'd also like to see this for all of "browser" and "toolkit", but if you want to start with the two respective "downloads" folder I can review a patch!
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to :Paolo Amadini from comment #4)
> That's very welcome and it's good that it's auto-fixable. I'd also like to
> see this for all of "browser" and "toolkit", but if you want to start with
> the two respective "downloads" folder I can review a patch!
Yeah, that's in the plan, I'm going to be sending out to relevant mailing lists soon.
Comment 6•7 years ago
|
||
Comment on attachment 9002485 [details]
Bug 1476228 - Enable comma-dangle ESLint rule for Places directories.
Mike de Boer [:mikedeboer] has approved the revision.
Attachment #9002485 -
Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15ee3d748ec8
Enable comma-dangle ESLint rule for Places directories. r=mikedeboer
Comment 8•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•