Disable eslint check for the next line:
// eslint-disable-next-line no-use-before-define
var thing = new Thing();
Current line:
var thing = new Thing(); // eslint-disable-line no-use-before-define
See the eslint docs.
Disable eslint check for the next line:
// eslint-disable-next-line no-use-before-define
var thing = new Thing();
Current line:
var thing = new Thing(); // eslint-disable-line no-use-before-define
See the eslint docs.