Deaktivieren Sie Eslint für die Linie
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
Expensive Echidna
alert('foo'); // eslint-disable-line
// eslint-disable-next-line
alert('foo');
{
"scripts": {
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "DISABLE_ESLINT_PLUGIN=true react-scripts test"
}
}
/* eslint-disable */
/* eslint-disable */
To disable eslint you could add a file .eslintignore with the content:
*