Skip to content

Instantly share code, notes, and snippets.

View LucasZNK's full-sized avatar
🎯
Focusing

Lucas Zanek LucasZNK

🎯
Focusing
View GitHub Profile

Configure prettier, eslint, husky (pre commit hook), lint-staged in react + typescript project

Steps to configure prettier, eslint, husky (pre commit hook), lint-staged in react + typescript project created using create-react-app. This is opinionated configuration with airbnb's style guide as the base style guide.

Step 1 :: Setup prettier

1.1) Install prettier as dev dependency.

npm install --save-dev --save-exact prettier