how run eslint in entire project code example
Example 1: how to run eslint on the whole project
# cd to your root project folder
eslint "./**" --fix
Example 2: eslint ignore javascript
var thing = new Thing(); // eslint-disable-line no-use-before-define
thing.sayHello();
function Thing() {
this.sayHello = function() { console.log("hello"); };
}