Skip to content

Commit

Permalink
chore: lint md with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Apr 24, 2024
1 parent 97697ae commit ecf9bc5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: fix-encoding-pragma

- repo: https://github.com/commitizen-tools/commitizen
rev: v3.20.0
rev: v3.24.0
hooks:
- id: commitizen
stages:
Expand All @@ -23,4 +23,13 @@ repos:
stages:
- commit-msg

- repo: local
hooks:
- id: markdownlint
name: markdownlint-cli2
description: Run markdownlint-cli2 on your Markdown files using the docker image
language: docker_image
types: [markdown]
entry: davidanson/markdownlint-cli2-rules:latest

...

0 comments on commit ecf9bc5

Please sign in to comment.