chore: pre-commit hooks config improvements

This commit is contained in:
Michele Cereda
2023-11-18 23:28:55 +01:00
parent db9d71c518
commit b20942e25a
3 changed files with 17 additions and 10 deletions

6
.mdlrc
View File

@@ -1,3 +1,5 @@
# skip MD013/line-length
# skip MD033/no-inline-html
=begin
skip MD013/line-length
skip MD033/no-inline-html
=end
rules "~MD013", "~MD033"

View File

@@ -15,19 +15,19 @@ repos:
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md # ignore markdown's line break
- id: end-of-file-fixer
- id: check-json
- id: check-xml
- id: check-yaml
args:
- --allow-multiple-documents
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md # ignore markdown's line break
- id: end-of-file-fixer
# - repo: https://github.com/adrienverge/yamllint
# rev: v1.33.0
# hooks:
# - id: yamllint
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
hooks:

5
examples/dotfiles/.mdlrc Normal file
View File

@@ -0,0 +1,5 @@
=begin
skip MD013/line-length
skip MD033/no-inline-html
=end
rules "~MD013", "~MD033"