Use // eslint-disable-next-line to ignore the next line. react code example
Example: disable eslint next line
console.log('disabled current'); // eslint-disable-line
// eslint-disable-next-line
console.log('disabled this one');
console.log('disabled current'); // eslint-disable-line
// eslint-disable-next-line
console.log('disabled this one');