Closed Bug 1230581 Opened 9 years ago Closed 9 years ago

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

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

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.
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
https://hg.mozilla.org/mozilla-central/rev/a258f7e89c8b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: