Closed Bug 1440761 Opened 6 years ago Closed 6 years ago

Enable no-unused-vars for global scope on jsm files in toolkit/

Categories

(Toolkit :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

In bug 1434446 we're moving towards turning on no-unused-vars in the global scope of jsm files.

We've had local scopes turned on for a while, but now it is time to expand as this can help catch more issues/unused code.
Comment on attachment 8954284 [details]
Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/.

https://reviewboard.mozilla.org/r/223416/#review229650
Attachment #8954284 - Flags: review?(dtownsend) → review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2192f653b25
Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
https://hg.mozilla.org/mozilla-central/rev/d2192f653b25
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.