Closed Bug 1476228 Opened 7 years ago Closed 7 years ago

Enforce comma-dangle eslint rule in Places

Categories

(Toolkit :: Places, enhancement, P3)

enhancement

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.
Shouldn't be too complex, though I wonder if we can convince browser/ & toolkit/ (or maybe all of m-c) to enable it.
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
MozReview-Commit-ID: K8HcZfyF4Sz
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!
(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 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
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: