@mediacurrent/eslint-config-react
This is Mediacurrent's ESLint config for React projects.
Install
npx install-peerdeps --dev @mediacurrent/eslint-config-react
Extend
Add the following to your .eslintrc
:
"extends": "@mediacurrent/eslint-config-react"
Pre-commit hook
For formatting using these rules to take place automatically on commit, follow the steps outlined here in Prettier setup.