different dirs different contexts eslint code example
Example 1: eslint ignore
/* eslint-disable */
alert('foo');
/* eslint-enable */
Example 2: eslint ignores
{
"ignorePatterns": ["temp.js", "**/vendor/*.js"],
"rules": {
//...
}
}