Skip to content

Commit

Permalink
Switch pre-commit to markdownlint-cli2
Browse files Browse the repository at this point in the history
It doesn't require Ruby and works out of the box on Windows. Original
markdownlint wasn't able to install Ruby properly on Windows.
  • Loading branch information
MiKom committed Aug 23, 2024
1 parent db9c4ab commit d2eb8ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ repos:
hooks:
- id: cmake-lint
- id: cmake-format
- repo: https://github.com/markdownlint/markdownlint
rev: v0.12.0
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint
- id: markdownlint-cli2
entry: mdl
exclude: ^(3rdParty/|common/ui/resources/licenses/)
language: ruby
files: \.(md|mdown|markdown)$
- repo: https://github.com/fsfe/reuse-tool
rev: v4.0.3
Expand Down

0 comments on commit d2eb8ff

Please sign in to comment.