Answers for "eslint disable rule in line"

20

disable eslint for line

alert('foo'); // eslint-disable-line

// eslint-disable-next-line
alert('foo');
Posted by: Guest on May-26-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