Skip to content

Commit

Permalink
Merge pull request #415 from jbampton/clean-up-the-pre-commit-config
Browse files Browse the repository at this point in the history
Clean up the `pre-commit` config
  • Loading branch information
matz committed Mar 24, 2024
2 parents 7944a36 + 9f82720 commit 5582c27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
File renamed without changes.
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ repos:
- id: forbid-submodules
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
Expand All @@ -42,7 +43,7 @@ repos:
- id: codespell
name: Run codespell
description: Check spelling with codespell
entry: codespell --ignore-words=codespell.txt
args: [--ignore-words=.github/linters/codespell.txt]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
Expand All @@ -62,22 +63,22 @@ repos:
description: Checks hyperlinks in Markdown files
args: [-q]
types: [markdown]
files: \.(md|mdown|markdown)$
files: \.md$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
hooks:
- id: markdownlint
name: Run markdownlint
description: Check all Markdown files with markdownlint
entry: markdownlint -c .github/linters/.markdown-lint.yml .
args: [--config=.github/linters/.markdown-lint.yml]
types: [markdown]
files: \.(md|mdown|markdown)$
files: \.md$
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
name: Run yamllint
description: Check YAML files with yamllint
entry: yamllint --strict -c .github/linters/.yaml-lint.yml .
args: [--strict, -c=.github/linters/.yaml-lint.yml]
types: [yaml]
files: \.(yml|yaml)$
files: \.ya?ml$

0 comments on commit 5582c27

Please sign in to comment.