.pre-commit-config.yaml: add doctoc with update-only argument

This commit is contained in:
Aminda Suomalainen 2023-03-23 16:34:17 +02:00
parent 7c1d0a1682
commit a07b56328a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 0 deletions

View File

@ -28,3 +28,8 @@ repos:
hooks:
- id: editorconfig-checker
alias: ec
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]