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

This commit is contained in:
Aminda Suomalainen 2023-04-06 10:39:08 +03:00
parent fb818ed235
commit 4abec4d28e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 6 deletions

View File

@ -18,7 +18,11 @@ repos:
- id: check-github-actions
- id: check-github-workflows
- id: check-gitlab-ci
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.6"
hooks:
@ -28,8 +32,3 @@ repos:
hooks:
- id: editorconfig-checker
alias: ec
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]