no-use-before-define should be relaxed with nofunc

RESOLVED FIXED in Firefox 45

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: mak, Assigned: mak)

Tracking

unspecified
mozilla45
Points:
---

Firefox Tracking Flags

(firefox45 fixed)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

functions used before being defined are less likely to cause issues than vars, and we have a LOT of them.
So I think it's worth using nofunc on it.

patch incoming.
Created attachment 8695919 [details]
MozReview Request: Bug 1230581 - Eslint 'no-use-before-define' should be relaxed with 'nofunc'. r?Mossop

Bug 1230581 - Eslint 'no-use-before-define' should be relaxed with 'nofunc'. r?Mossop
Attachment #8695919 - Flags: review?(dtownsend)
Attachment #8695919 - Flags: review?(dtownsend) → review+
Comment on attachment 8695919 [details]
MozReview Request: Bug 1230581 - Eslint 'no-use-before-define' should be relaxed with 'nofunc'. r?Mossop

https://reviewboard.mozilla.org/r/27221/#review24623

Comment 4

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a258f7e89c8b
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.