Closed Bug 1292008 Opened 4 years ago Closed 4 years ago

Enable the no-empty rule for eslint

Categories

(Toolkit :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jaws, Assigned: jaws)

Details

Attachments

(1 file)

This rule disallows empty block statements, but I added an exception for empty catch clauses which are used throughout our codebase to silently ignore exceptions.
Attachment #8777659 - Flags: review?(markh) → review+
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6732d24079ca
Enable the no-empty rule for eslint. r=markh
https://hg.mozilla.org/mozilla-central/rev/6732d24079ca
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.