- npm install --save-dev eslint
- npm install --save-dev eslint-plugin-react
- npm install --save-dev eslint-plugin-react-native
- npx eslint --init
- npm install --save-dev prettier
- npm install --save-dev eslint-config-prettier
- npm install --save-dev eslint-plugin-prettier
Eslint-plugin-react-native-a11y is a collection of React Native specific ESLint rules for identifying accessibility issues.
- npm install eslint-plugin-react-native-a11y --save-dev
- npm install --save-dev typescript
- npm install --save-dev react-native-typescript-transformer
- yarn tsc --init --pretty --jsx react-native
It create tsconfig.json file
- touch rn-cli.config.js
It creates rn-cli.config.js file
- npm install --save-dev @types/react @types/react-native
- npm install --save-dev ts-jest
- npm install husky --save-dev
- npx mrm lint-staged
- npm install
- npm start
- react-native run-android
- react-native run-ios