You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add pre-commit hook to run lint-staged (Prettier)
Executive summary:
- Added husky and lint-staged devDependencies and config in package.json.
- Added npm scripts: "lint-staged" and "prepare" to ensure husky is installed.
- Created .husky/pre-commit to run `npx lint-staged` on commit, which runs Prettier on staged .md/.mdx/.js/.jsx/.ts/.tsx files.
Made-with-help-from: GitHub Copilot
0 commit comments