Is it possible to turn off the eslint rule for the whole file? Something such as:
// eslint-disable-file no-use-before-define
(Analogous t
/* eslint-disable */ //suppress all warnings between comments alert('foo'); /* eslint-enable */
This will disable all eslint rules within the block.