Skip to content

Instantly share code, notes, and snippets.

View yovany-lg's full-sized avatar

José Yovany Luis García yovany-lg

  • México, Oaxaca.
View GitHub Profile
@yovany-lg
yovany-lg / expo-typescript-eslint-prettier.md
Last active April 12, 2024 17:08
Setting up React Navite: Expo + Typescript + Eslint (Airbnb) + Prettier

Steps to get started with Expo, Typescript, ESLint and Prettier

The first step is to use the Expo CLI to initialize the project. If you don't have the latest version of the Expo CLI tool, (or you don't have it installed) run npm install -g expo-cli.

Now run the following commands in the same order:

  • expo init my-app -t expo-template-blank-typescript
  • npx install-peerdeps --dev eslint-config-airbnb
  • npm i --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin
  • npm i --save-dev prettier eslint-config-prettier eslint-plugin-prettier

Create or edit the file .eslintrc.json with the following content:

@brenes
brenes / README.md
Last active June 7, 2024 01:06
CSV de paises, con nombre en castellano, ingles, codigo ISO y prefijo telefónico del país