This is my personal ESLint config.
The config includes these plugins by default:
- Install the dependencies
npm i -D eslint eslint-config-hmdarkfir3
- Create a
.eslintrc.json
file extending the config:
{
"extends": "eslint-config-hmdarkfir3/react-native"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.