Skip to content

Commit 6fe8b63

Browse files
Merge pull request #13 from lumapps/markdownlint
Add markdownlint to precommit hook
2 parents 9605e51 + 9f06901 commit 6fe8b63

File tree

2 files changed

+123
-77
lines changed

2 files changed

+123
-77
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ repos:
1717
rev: master # or a specific git tag from md-toc
1818
hooks:
1919
- id: md-toc
20+
21+
- repo: git://github.com/igorshubovych/markdownlint-cli
22+
rev: v0.23.2
23+
hooks:
24+
- id: markdownlint
25+
2026
- repo: https://github.com/pre-commit/pre-commit-hooks
2127
rev: v2.0.0
2228
hooks:
@@ -31,4 +37,4 @@ repos:
3137
- id: detect-private-key
3238
- id: end-of-file-fixer
3339
- id: trailing-whitespace
34-
exclude: (.github/CODEOWNERS|validator.bats)
40+
exclude: (.github/CODEOWNERS)

0 commit comments

Comments
 (0)