2.0.0 • Published 1 year ago
@menelaia/eslint-config-react v2.0.0
🗂️ eslint-config-react
Eslint config for React projects. Contains recommended rules extended from airbnb
, airbnb/hooks
, plugin:react
, plugin:react-hooks
. Added rules contain import and prop sorting.
🖥️ Installation
- Install the correct versions of each package using the below command. If using older npm versions, you can install all needed dependencies manually.
npx install-peerdeps --dev @menelaia/eslint-config-react
- Add
"extends": "@menelaia/react"
to your .eslintrc.