eslint multiple file type matching pattern code example
Example 1: eslint ignore file rule
/* eslint-disable no-alert, no-console */
alert('foo');
console.log('bar');
/* eslint-enable no-alert, no-console */
Example 2: how to run eslint on the whole project
# cd to your root project folder
eslint "./**" --fix