disable eslint for javascript files code example
Example 1: disable eslint
/* eslint-disable */
Example 2: disable eslint
/* eslint-disable */
//Put this comment ath the top of the file
Example 3: eslint ignore javascript
var thing = new Thing(); // eslint-disable-line no-use-before-define
thing.sayHello();
function Thing() {
this.sayHello = function() { console.log("hello"); };
}