mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-09 11:52:32 +01:00
.pre-commit-config.yaml: add doctoc, disable ec linecheck
This commit is contained in:
parent
2875272c64
commit
9072fca22f
@ -10,6 +10,12 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
|
- repo: https://github.com/thlorenz/doctoc
|
||||||
|
rev: v2.2.0
|
||||||
|
hooks:
|
||||||
|
- id: doctoc
|
||||||
|
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
||||||
|
args: [--update-only]
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: "v3.0.0-alpha.6"
|
rev: "v3.0.0-alpha.6"
|
||||||
hooks:
|
hooks:
|
||||||
@ -19,3 +25,4 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: editorconfig-checker
|
- id: editorconfig-checker
|
||||||
alias: ec
|
alias: ec
|
||||||
|
args: [-disable-max-line-length]
|
||||||
|
Loading…
Reference in New Issue
Block a user