docs: add husky and lint-staged pre-commit integration guide (#203)
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-doctorin a pre-commit hook using Husky + lint-staged, including example commands and alint-stagedconfig that runsreact-doctor --staged --fail-on error --yesto block commits on errors (with notes on stricterwarninggating /--json).Reviewed by Cursor Bugbot for commit 9a3f3e46b1a73bc41aa42debeeed43412da0ea0a. Bugbot is set up for automated code reviews on this repo. Configure here.
[!NOTE] No issues found
@PranavAgarkar07 is attempting to deploy a commit to the Million Team on Vercel.
A member of the Team first needs to authorize it.