My personal ESLint, Prettier and Typescript config for React Native projects.
-
npx react-native init AwesomeTSProject --template react-native-template-typescript
-
cd AwesomeTSProject
-
yarn add -D @react-native-community/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-react-native-a11y eslint-plugin-import eslint-import-resolver-typescript
Then create the .eslintrc and .prettierrc files using the provided config