From 95e483cdcb1652ea2fb121e5b2a80e10671e3ed5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 5 Apr 2023 12:24:06 +0300 Subject: [PATCH] .pre-commit-config.yaml: move doctoc above prettier & ec-checker --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d7c147..f24d149 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,11 @@ 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 + args: [--update-only] - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.0-alpha.6" hooks: @@ -20,8 +25,3 @@ repos: - id: editorconfig-checker alias: ec args: [-disable-max-line-length] - - repo: https://github.com/thlorenz/doctoc - rev: v2.2.0 - hooks: - - id: doctoc - args: [--update-only]