mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
chore: pre-commit hooks config improvements
This commit is contained in:
6
.mdlrc
6
.mdlrc
@@ -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"
|
||||
|
||||
@@ -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
5
examples/dotfiles/.mdlrc
Normal file
@@ -0,0 +1,5 @@
|
||||
=begin
|
||||
skip MD013/line-length
|
||||
skip MD033/no-inline-html
|
||||
=end
|
||||
rules "~MD013", "~MD033"
|
||||
Reference in New Issue
Block a user