Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove 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
 
PREVIOUS NEXT
Tagged: #remove #eslint #check #react #native
ADD COMMENT
Topic
Name
5+3 =