This is Medopad's ESLint config for React (with JSX and Jest).
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
First, install the config (with all of its dependencies):
npm install eslint-config-medopad eslint-config-medopad-react --save-dev
Then, add this to your .eslintrc
file:
extends:
- "medopad-react"
You can override settings from the shareable config by adding them directly into your .eslintrc
file.
npm test
npm version [major|minor|patch] -m "v%s"