ESLint config to be used in React Native projects at Mitigate - based on TypeScript, Jest, Prettier and the community standards.
Run yarn add --dev eslint@8.57.0 @mitigate-dev/eslint-config-react-native
within the root of your React Native project and update .eslintrc.js
to extend this config as follows:
module.exports = {
...
extends: ['@react-native', '@mitigate-dev']
...
}
Currently uses ESlint v8. TODO: Migrate to v9 (see https://eslint.org/docs/latest/use/configure/migration-guide).