Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more pre commit hooks #154

Merged
merged 8 commits into from
Jul 13, 2024
26 changes: 19 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,18 @@ repos:
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-json
- id: check-xml
- id: detect-private-key
exclude: ^_site/.*$
# - repo: https://github.com/Lucas-C/pre-commit-hooks
# rev: v1.1.10
# hooks:
# - id: remove-tabs
- repo: https://github.com/chriskuehl/puppet-pre-commit-hooks.git
rev: v2.1.0
hooks:
- id: ruby-validate
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
Expand All @@ -35,13 +42,18 @@ repos:
description: Check spelling with codespell
entry: codespell --ignore-words=codespell.txt
exclude: ^_site/.*$|^vendor/.*$
# - repo: https://github.com/igorshubovych/markdownlint-cli
# rev: v0.27.1
# hooks:
# - id: markdownlint
# name: Run markdownlint
# entry: markdownlint -c .github/linters/.markdown-lint.yml .
# exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.31.1
hooks:
- id: markdownlint
name: Run markdownlint
entry: markdownlint -c .github/linters/.markdown-lint.yml .
exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
- repo: https://github.com/tcort/markdown-link-check
rev: v3.12.2
hooks:
- id: markdown-link-check
args: [-q]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
Expand Down
Loading