Closed
Bug 1532934
Opened 6 years ago
Closed 6 years ago
Enable ESLint for dom/url
Categories
(Core :: DOM: Networking, enhancement, P3)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: standard8, Assigned: danielleleb12, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=js][necko-triaged])
Attachments
(2 files)
As part of rolling out ESLint across the tree, we should enable it for dom/url.
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help. I (or someone else) will assign it to you.
- Download and build the Firefox source code, see the docs for details. An artifact build is all you need.
- If you have any problems, please ask on IRC in the #introduction channel. They're there to help you get started.
- You can also read the Developer Guide, which has answers to most development questions.
- Start working on this bug
- Please note:
- We want to end up with two separate commits. One with the automatic changes, the second with the manual changes.
- Although you'll change .eslintignore at the start, only the second commit should have the .eslintignore changes. Please follow the suggested commands closely.
- Here's what to do:
- In .eslintignore, remove the
dom/url/**
line. - Run eslint
./mach eslint --fix dom/url
- This should fix some of the issues.
- Inspect the diff to make sure that the indentation of the lines surrounding the changes look ok.
- Create a commit of the work so far. Note the extra
dom/url
at the end (this avoids committing .eslintignore at this stage)$ hg commit -m "Bug nnn - Enable ESLint for dom/url (automatic changes). r?Standard8" dom/url
- For the remaining issues, you'll need to fix them by hand. To find them, run
./mach eslint dom/url
. - Create a second commit of the manual changes, note, there's no directory specifier this time, so .eslintignore will be included.
$ hg commit -m "Bug nnn - Enable ESLint for dom/url (manual changes). r?Standard8
- Post the two commits via phabricator. Please use moz-phab to submit them.
- In .eslintignore, remove the
- Please note:
- Once the patches are submitted, I'll take a look. If there's any changes necessary I'll comment in Phabricator, so be prepared to update the patches. If there's no changes, I'll request review from a dom peer, so there may still be more to go.
- Once we're happy with the changes, I'll push it to autoland - our integration branch. Your code will then soon be shipping to Firefox users worldwide!
- Now you get to think about what kind of bug you'd like to work on next. Let me know what you're interested in and I can help you find your next contribution.
Assignee | ||
Comment 1•6 years ago
|
||
Hey Mark, I'd like to work on this please.
Updated•6 years ago
|
Component: DOM → DOM: Networking
Reporter | ||
Comment 2•6 years ago
|
||
Hi @danielleleb12, good to hear from you again.
Assignee: nobody → danielleleb12
Status: NEW → ASSIGNED
Updated•6 years ago
|
Priority: -- → P3
Whiteboard: [lang=js] → [lang=js][necko-triaged]
Assignee | ||
Comment 3•6 years ago
|
||
Hey Mark! Creating a patch now. There were a few files with issues that I wasn't totally sure about - looking forward to your feedback on how some of these issues should properly be solved!
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D22736
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f87b1c69a88d
Enable ESLint for dom/url (automatic changes). r=Standard8,baku
https://hg.mozilla.org/integration/autoland/rev/e263d6805e14
Enable ESLint for dom/url (manual changes). r=Standard8,baku
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f87b1c69a88d
https://hg.mozilla.org/mozilla-central/rev/e263d6805e14
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•