eslint disable rule for project code example
Example 1: disable eslint
/* eslint-disable */
Example 2: eslint ignore file rule
/* eslint-disable no-alert, no-console */
alert('foo');
console.log('bar');
/* eslint-enable no-alert, no-console */