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
{{ message }}
Repository navigation
Two Sources Disagree on What Generates .husky/_/husky.sh #1195
The hub's own .husky/pre-commit says, at lines 5-6:
# It deliberately does not source `_/husky.sh`.
# That file is gitignored and arrives with an npm install this repository does not have.
GOVERNANCE.md "Running the Linters Locally" and catalog/snippets/husky/README.md both attribute it to Husky.Net instead: dotnet tool restore then dotnet husky install is what generates .husky/_/husky.sh. #1186 leaned on that attribution when it made the tool manifest the snippet's selection condition.
Both cannot be the reason the file appears. npm husky and Husky.Net are different tools that happen to use the same directory and the same generated filename, which is most likely how the two descriptions ended up side by side.
The consequence is small but real: the hub's comment is the one a reader meets first when looking at a working example of the third hook shape, and it explains that shape's central design decision (not sourcing that file) with what looks like the wrong tool. If the hub genuinely has no npm husky, the sentence describes a mechanism this repo never had.
This is the same class of contradiction #1158 covered, two sources disagreeing so no single wording can be right, and it wants the same treatment: settle which tool generates it here, then make both sources say that.
Surfaced by the canonical-content review on #1186 and again on #1189.
Rolled up per #1315 into the unit tracker(s) #1365: every finding this issue enumerates appears there as a numbered line naming this issue. Closing as a duplicate of those trackers so no finding is lost and this bundle stops being a unit of work.
Activity
ptr727 commentedon Sep 5, 2026
Rolled up per #1315 into the unit tracker(s) #1365: every finding this issue enumerates appears there as a numbered line naming this issue. Closing as a duplicate of those trackers so no finding is lost and this bundle stops being a unit of work.