.pre-commit-config.yaml: move doctoc above prettier & ec-checker

This commit is contained in:
Aminda Suomalainen 2023-04-05 12:24:06 +03:00
parent dda2379a63
commit 95e483cdcb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -10,6 +10,11 @@ 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
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:
@ -20,8 +25,3 @@ repos:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length] args: [-disable-max-line-length]
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]