Closed Bug 1434446 Opened 3 years ago Closed 2 years ago
[meta] Enable no-unused-vars for global scope on jsm files
59 bytes, text/x-review-board-request
Now that we have glob-based configuration, we should work towards making our module files have no-unused-vars for all variables (including global), rather than just local to functions. This can help with finding extra bugs, hidden exports and unused code.
Note: the patch here depends on the one in bug 1442377 which is just about to land.
Comment on attachment 8955292 [details] Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. https://reviewboard.mozilla.org/r/224446/#review230758
Attachment #8955292 - Flags: review?(dtownsend) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/b8e64a94e635 Enable no-unused-vars for global scope on jsm files in browser/. r=mossop
You need to log in before you can comment on or make changes to this bug.