Description
Setup Husky to automatically run linting and formatting checks before code is committed.
Requirements
- Install
husky and lint-staged.
- Configure a pre-commit hook that runs
npm run lint and npm run format.
- Ensure this setup does not block developers workflow unnecessarily.
Level
Rules for Contributors
- Please add an ETA (no more than 2 days) when expressing interest.
Description
Setup Husky to automatically run linting and formatting checks before code is committed.
Requirements
huskyandlint-staged.npm run lintandnpm run format.Level
Rules for Contributors