Skip to content

Instantly share code, notes, and snippets.

View PedroW21's full-sized avatar
🎯
Focusing

Pedro Verner PedroW21

🎯
Focusing
View GitHub Profile
@yovany-lg
yovany-lg / expo-typescript-eslint-prettier.md
Last active September 14, 2024 19:52
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:

@reginadiana
reginadiana / README-TEMPLATE.md
Last active November 18, 2024 21:18
Template sugestivo para documentação de projetos

Titulo ou Arte do Projeto