mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
.pre-commit-config.yaml: properly use trailing-whitespace for markdown
This commit is contained in:
parent
b70b1a2f22
commit
1c0a727aa0
@ -25,12 +25,13 @@ repos:
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-byte-order-marker
|
||||
- id: trailing-whitespace
|
||||
args: ["--markdown-linebreak-ext", "md,markdown"]
|
||||
# I don't want to touch licenses or past association logs or Limnoria
|
||||
# configuration exports.
|
||||
exclude: ^LICENSES\/.*|LICENSE|associations\/.*|.*\.conf$$
|
||||
# File types depending on trailing whitespace. Use identify-cli
|
||||
exclude_types:
|
||||
[tsv, markdown]
|
||||
[svg, tsv]
|
||||
#- id: check-docstring-first
|
||||
#- id: check-json
|
||||
- id: check-merge-conflict
|
||||
|
Loading…
Reference in New Issue
Block a user