Skip to content

Commit

Permalink
Update pre-commit hooks and config (slowtec#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Dec 20, 2023
1 parent 1df2026 commit 0c35189
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ config:
# fenced code block should be allowed depending on the use case.
code-block-style: false

# MD024/no-duplicate-heading: Multiple headings with the same content
# Used in CHANGELOG.md
no-duplicate-heading: false

# MD026/no-trailing-punctuation: Trailing punctuation in heading
# Used in README.md
no-trailing-punctuation: false
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default_stages:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-json
Expand All @@ -25,13 +25,13 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
rev: v9.10.0
hooks:
- id: commitlint
stages:
- commit-msg
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.10.0
rev: v0.11.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/shellcheck-py/shellcheck-py
Expand All @@ -44,12 +44,12 @@ repos:
- id: codespell
args: [--ignore-words=.codespellignore]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.27.0
rev: 0.27.3
hooks:
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v3.1.0
hooks:
- id: prettier
types_or:
Expand Down

0 comments on commit 0c35189

Please sign in to comment.