Answers for "tell eslint to ignore"

3

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);
Posted by: Guest on May-16-2020
3

eslint ignore

/* eslint-disable */

alert('foo');

/* eslint-enable */
Posted by: Guest on September-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language