Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 517 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 517 Bytes

ESlint + Prettier + Typescript config

My personal ESLint, Prettier and Typescript config for React projects.

Run the following commands:

  • npx create-react-app project-name --template typescript

  • cd project-name

  • yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-jest eslint-plugin-prettier eslint-plugin-react eslint-plugin-testing-library prettier

Then create the .eslintrc and .prettierrc files using the provided config