eslint configuration for yoshi based projects using react
Install all peer dependencies:
"babel-eslint": "^10.0.0",
"eslint": "^5.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"prettier": "^1.11.1",
"eslint-plugin-react-hooks": "^1.6.0"
Add the following to your package.json
: