Skip to content

Instantly share code, notes, and snippets.

@ChinaShrimp
Last active February 10, 2020 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChinaShrimp/4e0d284024b1dd82f7e63267a307ad5e to your computer and use it in GitHub Desktop.
Save ChinaShrimp/4e0d284024b1dd82f7e63267a307ad5e to your computer and use it in GitHub Desktop.
React - .eslintrc.json - from FrontendMaster course
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier",
"prettier/react"
],
"rules": {
"react/prop-types": 0,
"no-console": 1
},
"plugins": ["react", "import", "jsx-a11y"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment