1alert('foo'); // eslint-disable-line
2
3// eslint-disable-next-line
4alert('foo');
5
1const message = 'foo';
2console.log(message); // eslint-disable-line no-console
3
4// eslint-disable-next-line no-console
5console.log(message);
1/* eslint-disable no-alert, no-console */
2
3alert('foo');
4console.log('bar');
5
6/* eslint-enable no-alert, no-console */
7