Skip to content

docs: add husky and lint-staged pre-commit integration guide (#203)#213

Open
PranavAgarkar07 wants to merge 1 commit into
millionco:mainfrom
PranavAgarkar07:fix/203-husky-lint-staged-docs
Open

docs: add husky and lint-staged pre-commit integration guide (#203)#213
PranavAgarkar07 wants to merge 1 commit into
millionco:mainfrom
PranavAgarkar07:fix/203-husky-lint-staged-docs

Conversation

@PranavAgarkar07
Copy link
Copy Markdown

@PranavAgarkar07 PranavAgarkar07 commented May 12, 2026

Summary

Adds documentation for integrating react-doctor with husky and lint-staged as a pre-commit hook. The --staged mode is already designed for pre-commit workflows — this just shows users how to wire it up.

Closes #203


Note

Low Risk
Low risk: documentation-only change that doesn’t alter runtime behavior or interfaces.

Overview
Adds a new README section describing how to run react-doctor in a pre-commit hook using Husky + lint-staged, including example commands and a lint-staged config that runs react-doctor --staged --fail-on error --yes to block commits on errors (with notes on stricter warning gating / --json).

Reviewed by Cursor Bugbot for commit 9a3f3e4. Bugbot is set up for automated code reviews on this repo. Configure here.

@reactreview
Copy link
Copy Markdown

reactreview Bot commented May 12, 2026

Note

No issues found

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

@PranavAgarkar07 is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add lint staged husky integration guide

1 participant