Answers for "eslint ignore full file"

8

disable eslint whole file

//add this block comment in the first line
//it must be a BLOCK comment!!!

/* eslint-disable */
Posted by: Guest on February-06-2021
1

eslint ignore current line

var thing = new Thing(); // eslint-disable-line no-use-before-define

// eslint-disable-next-line no-use-before-define
var thing = new Thing();
Posted by: Guest on December-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language