mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #374] Add a .pre-commit hook #2161
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JensHeinrich on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/374
The ruby implementation already supplies a pre-commit hook and it would be useful to have one for the npm version too
@DavidAnson commented on GitHub (Mar 3, 2021):
Both CLI’s have this already:
@JensHeinrich commented on GitHub (Mar 3, 2021):
Thank you very much.
I did not see it.
Can I add a reference to the CLI section to the example usage section?
@janosh commented on GitHub (Oct 6, 2021):
I second @JensHeinrich's suggestion to specifically mention pre-commit in the readme.
ac8545edid not help me find this.@DavidAnson commented on GitHub (Oct 6, 2021):
This library does not work with pre-commit; the CLIs do (and both document support in their README). I'm not sure I want to re-document everything downstream projects support.
@janosh commented on GitHub (Oct 6, 2021):
Fair enough. I noticed you have a file on Prettier in the docs. Perhaps a file for pre-commit could be added as well?
@DavidAnson commented on GitHub (Oct 6, 2021):
Good idea, I've added a TODO!
@janosh commented on GitHub (Oct 6, 2021):
I've taken the liberty myself: #440.