Skip to content

koutilyagurjikindi/CodeStandard

Repository files navigation

CodeStandard

Install Eslint

  • npm install --save-dev eslint
  • npm install --save-dev eslint-plugin-react
  • npm install --save-dev eslint-plugin-react-native
  • npx eslint --init

Install Prettier

  • npm install --save-dev prettier
  • npm install --save-dev eslint-config-prettier
  • npm install --save-dev eslint-plugin-prettier

Install eslint-plugin-react-native-a11y

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

Install Typescript

  • 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

Install Jest

  • npm install --save-dev ts-jest

Install Husky

  • npm install husky --save-dev

Install Lint-staged

  • npx mrm lint-staged

Installing the project

  • npm install
  • npm start
  • react-native run-android
  • react-native run-ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published