Skip to content

Commit

Permalink
Adjust the trailing-whitespace hook configuration
Browse files Browse the repository at this point in the history
Add an argument to preserve Markdown hard linebreaks.
  • Loading branch information
mcdonnnj committed Oct 2, 2024
1 parent f0e55b3 commit 211a31c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ repos:
- --autofix
- id: requirements-txt-fixer
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md

# Text file hooks
- repo: https://github.com/igorshubovych/markdownlint-cli
Expand Down

0 comments on commit 211a31c

Please sign in to comment.