Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 446 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 446 Bytes

Add Eslint, Prettier and Husky

yarn add --dev @typescript-eslint/eslint-plugin

yarn add --dev prettier eslint-config-prettier

yarn add --dev husky
yarn husky install // yarn prepare
yarn husky add .husky/pre-commit "npx lint-staged $1"
yarn husky add .husky/post-merge "yarn install --freeze-lockfile"