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
|
=begin
|
||||||
# skip MD033/no-inline-html
|
skip MD013/line-length
|
||||||
|
skip MD033/no-inline-html
|
||||||
|
=end
|
||||||
rules "~MD013", "~MD033"
|
rules "~MD013", "~MD033"
|
||||||
|
|||||||
@@ -15,19 +15,19 @@ repos:
|
|||||||
rev: v4.5.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- 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-json
|
||||||
- id: check-xml
|
- id: check-xml
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
args:
|
args:
|
||||||
- --allow-multiple-documents
|
- --allow-multiple-documents
|
||||||
- id: trailing-whitespace
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
args:
|
rev: v1.33.0
|
||||||
- --markdown-linebreak-ext=md # ignore markdown's line break
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: yamllint
|
||||||
# - repo: https://github.com/adrienverge/yamllint
|
|
||||||
# rev: v1.33.0
|
|
||||||
# hooks:
|
|
||||||
# - id: yamllint
|
|
||||||
- repo: https://github.com/hadolint/hadolint
|
- repo: https://github.com/hadolint/hadolint
|
||||||
rev: v2.12.1-beta
|
rev: v2.12.1-beta
|
||||||
hooks:
|
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