Official fishonfire eslint config
Add this package to your packages
Yarn
yarn add https://github.com/fishonfire/eslint-config-fishonfire --dev
Npm
npm install https://github.com/fishonfire/eslint-config-fishonfire --save-dev
Install peer dependencies
Yarn
yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-react eslint-plugin-sonarjs @react-native-community/eslint-config --dev
Npm
npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-react eslint-plugin-sonarjs @react-native-community/eslint-config --save-dev
To implement this configuration you need to extend it inside .eslint.js
{
extends: "fishonfire"
}