react disable eslint code example
Example 1: disable eslint for line
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
Example 2: react disable eslint errors
To disable eslint you could add a file .eslintignore with the content:
*