alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
/* eslint-disable-next-line */
alert('foo');
alert('foo'); /* eslint-disable-line */
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
console.log('disabled current'); // eslint-disable-line
// eslint-disable-next-line
console.log('disabled this one');
// eslint-disable-next-line (paste the eslint error here)
// Example:
// eslint-disable-next-line react-hooks/exhaustive-deps
// eslint-disable-next-line no-return-assign, no-param-reassign
console.log("How to disable 2 ESLint rules in a single line");
console.log('eslint is disabled for the current line'); // eslint-disable-line