eslint ignore file rule
snippet in javascript

eslint ignore file rule

user9567

/* eslint-disable no-alert, no-console */

alert('foo');
console.log('bar');

/* eslint-enable no-alert, no-console */