Skip to content

Commit 8da15bc

Browse files
committed
Add more pre commit hooks
1 parent 720974e commit 8da15bc

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,18 @@ repos:
2222
- id: fix-byte-order-marker
2323
- id: mixed-line-ending
2424
- id: trailing-whitespace
25+
- id: check-json
26+
- id: check-xml
27+
- id: detect-private-key
2528
exclude: ^_site/.*$
2629
# - repo: https://github.com/Lucas-C/pre-commit-hooks
2730
# rev: v1.1.10
2831
# hooks:
2932
# - id: remove-tabs
33+
- repo: https://github.com/chriskuehl/puppet-pre-commit-hooks.git
34+
rev: v2.1.0
35+
hooks:
36+
- id: ruby-validate
3037
- repo: https://github.com/codespell-project/codespell
3138
rev: v2.2.6
3239
hooks:
@@ -35,13 +42,18 @@ repos:
3542
description: Check spelling with codespell
3643
entry: codespell --ignore-words=codespell.txt
3744
exclude: ^_site/.*$|^vendor/.*$
38-
# - repo: https://github.com/igorshubovych/markdownlint-cli
39-
# rev: v0.27.1
40-
# hooks:
41-
# - id: markdownlint
42-
# name: Run markdownlint
43-
# entry: markdownlint -c .github/linters/.markdown-lint.yml .
44-
# exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
45+
- repo: https://github.com/igorshubovych/markdownlint-cli
46+
rev: v0.31.1
47+
hooks:
48+
- id: markdownlint
49+
name: Run markdownlint
50+
entry: markdownlint -c .github/linters/.markdown-lint.yml .
51+
exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
52+
- repo: https://github.com/tcort/markdown-link-check
53+
rev: v3.12.2
54+
hooks:
55+
- id: markdown-link-check
56+
args: [-q]
4557
- repo: https://github.com/pre-commit/mirrors-prettier
4658
rev: v4.0.0-alpha.8
4759
hooks:

0 commit comments

Comments
 (0)