.pre-commit-config.yaml: add doctoc, disable ec linecheck

This commit is contained in:
Aminda Suomalainen 2023-04-06 11:46:54 +03:00
parent 2875272c64
commit 9072fca22f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,12 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- 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
rev: "v3.0.0-alpha.6"
hooks:
@ -19,3 +25,4 @@ repos:
hooks:
- id: editorconfig-checker
alias: ec
args: [-disable-max-line-length]