Files
Draupnir/.pre-commit-config.yaml
T
Aminda Suomalainen 56e03e9ccb Fix markdown trailing whitespace & exlude .svg from trailing-whitespace checks (#148)
* .pre-commit-config.yaml: properly handle markdown and exclude svg from trailing-whitespace

* {CONTRIBUTING,docs/appservice}.md: remove trailing whitespace
2023-10-21 12:18:52 +01:00

21 lines
635 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# See https://pre-commit.ci for more information
ci:
autoupdate_schedule: weekly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md"]
exclude_types: [svg]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3"
hooks:
- id: editorconfig-checker
alias: ec