disable eslint in project code example
Example 1: disable eslint for line
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
Example 2: disable eslint
/* eslint-disable */
Example 3: eslint disable
/* eslint-disable */
Example 4: disable eslint directory
// to disable the whole folder or multiple files,
// you can create a file .eslintignore
// and fill it similarly to .gitignore