Enable, a basic version of, the ESLint `no-use-before-define` rule
Enable, a basic version of, the ESLint `no-use-before-define` rule

Given how our existing code-base is written, we simply can't (and probably don't want to) enable *all* of this ESLint rule. The reason is that we have a lot of code, especially related to functions, which is fine at runtime but might to a static analyzer *look* like a problem.
However, even in its most *basic* version this ESLint rule can help catch some outright bugs; see PR 12891.

Please find additional details about the ESLint rule at https://eslint.org/docs/rules/no-use-before-define

showpad/mozilla-pdf.js,caremerge/pdf.js,nawawi/pdf.js,xavier114fch/pdf.js,Snuffleupagus/pdf.js,mozilla/pdf.js,timvandermeij/pdf.js,macroplant/pdf.js,timvandermeij/pdf.js,timvandermeij/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,nawawi/pdf.js,caremerge/pdf.js,Snuffleupagus/pdf.js,Shoobx/pdf.js,Shoobx/pdf.js,nawawi/pdf.js,mozilla/pdf.js,Snuffleupagus/pdf.js,mozilla/pdf.js,xavier114fch/pdf.js,Shoobx/pdf.js