Answers for ".eslintrc disable rule"

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
0

disable eslint specific rule

/* eslint-disable <RULE> */
/* eslint-disable <RULE>, <RULE> */

Examples: 

/* eslint-disable no-labels */
/* eslint-disable no-labels, no-unreachable */
Posted by: Guest on June-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language