Skip to content

Commit

Permalink
add markdownlint config and pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ircwaves committed Feb 16, 2024
1 parent 4f82880 commit 3a8c300
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
MD013:
line_length: 88
heading_line_length: 88
code_block_line_length: 100

MD024:
siblings_only: true

MD053:
ignored_definitions:
- "unreleased"
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ repos:
language: system
types: [text]
stages: [commit, push, manual]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
hooks:
- id: markdownlint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
hooks:
Expand Down

0 comments on commit 3a8c300

Please sign in to comment.