Hapus Eslint Check React Native
You could set EXTEND_ESLINT environment variable to true, for example in .env
file:
EXTEND_ESLINT=true
Now you can extend eslint configuration in your package.json file:
...
"eslintConfig": {
"extends": "react-app",
"rules": {
"jsx-a11y/anchor-is-valid": "off"
}
},
...
==================================== OR ==================================
To disable eslint you could add a file .eslintignore with the content:
*
See documentation for details:
https://create-react-app.dev/docs/setting-up-your-editor/#experimental-extending-the-eslint-config
Coding Era