Closed Bug 1532944 Opened 5 years ago Closed 5 years ago

Remove unnecessary ESLint disabling mozilla/no-cpows-in-tests comments


(Developer Infrastructure :: Lint and Formatting, enhancement)

Not set


(firefox68 fixed)

Tracking Status
firefox68 --- fixed


(Reporter: standard8, Assigned: mihir17166, Mentored)


(Keywords: good-first-bug, Whiteboard: [lang=js])


(1 file)

We removed the mozilla/no-cpows-in-tests rule a while ago, so we no longer need the ESLint comments where this rule was specifically disabled.

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help. I (or someone else) will assign it to you.
  2. Download the Firefox source code, see the docs for details.
    • 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.
  3. Start working on this bug
    • You need to remove the references to mozilla/no-cpows-in-tests from the code (see the link above).
    • If the comment references more than just one rule, remove just the rule, otherwise remove the entire comment.
    • Commit the changes with a command such as hg commit -m "Bug nnn - Remove unnecessary ESLint disabling mozilla/no-cpows-in-tests comments. r?Standard8"
    • Once you're done, post the commits via phabricator. Please use moz-phab to submit them.
  4. 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.
  5. 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!
  6. 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.

I would be happy to volunteer to fix this bug.

(In reply to mihir17166 from comment #1)

I would be happy to volunteer to fix this bug.

Hi, I've assigned it to you, please start working on it, and feel free to ask if you have questions.

Assignee: nobody → mihir17166
Pushed by
Remove unnecessary ESLint disabling mozilla/no-cpows-in-tests comments. r=Standard8
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.