eslint one line rule disable code example
Example: disable eslint for line
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');