Use // eslint-disable-next-line to ignore the next line code example
Example 1: disable eslint
/* eslint-disable */
//Put this comment ath the top of the file
Example 2: eslint ignore
/* eslint-disable no-alert, no-console */
alert('foo');
console.log('bar');
/* eslint-enable no-alert, no-console */