From c82943b61b98a2596795e087f947470684aff4a7 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 4 Aug 2024 08:41:48 +0300 Subject: [PATCH] .pre-commit-config.toml: copy check-merge-conflict and commented args from mikaela.github.io --- .pre-commit-config.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67b7aea1..d24cd7ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,3 @@ -# @format - # See https://pre-commit.com for more information # See https://pre-commit.ci for more information ci: @@ -35,6 +33,7 @@ repos: - id: destroyed-symlinks - id: detect-private-key - id: fix-byte-order-marker + - id: check-merge-conflict - id: mixed-line-ending args: [--fix=auto] - id: pretty-format-json @@ -62,6 +61,12 @@ repos: - id: doctoc # https://github.com/Mikaela/gist/blob/master/doctoc.txt args: [--update-only, --notitle] + #args: [ + # --update-only, + # --title, + # 'Automaattinen sisällysluettelo / Automatically generated Table of Contents', + # ] # GitHub Actions etc. configuration validity checking - repo: https://github.com/python-jsonschema/check-jsonschema