Skip to content

Commit

Permalink
[tools] Add markdownlint to the pre-commit
Browse files Browse the repository at this point in the history
Split off from #2717
since Copybara isn't currently managing the
`.pre-commit-config.yaml` file.  The other changes from
#2717 landed already
in
b6b01b4

Signed-off-by: gabrieldemarmiesse <gabrieldemarmiesse@gmail.com>
  • Loading branch information
gabrieldemarmiesse authored and JoeLoser committed May 20, 2024
1 parent 69e92d0 commit 510ab7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ repos:
language: system
files: '\.(mojo|🔥|py)$'
stages: [commit]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
hooks:
- id: markdownlint
args: ['--config', 'stdlib/scripts/.markdownlint.yaml', '--fix']

0 comments on commit 510ab7c

Please sign in to comment.