eslint no check code example
Example 1: eslint disalbe check next line
const message = 'foo';
console.log(message); // eslint-disable-line no-console
// eslint-disable-next-line no-console
console.log(message);
Example 2: //disable-linter-line
// eslint-disable-next-line no-console
console.log('eslint will ignore the no-console on this line of code');
// OR >>
console.log('eslint will ignore the no-console on this line of code'); // eslint-disable-line