mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
.pre-commit-config.toml: copy check-merge-conflict and commented args from mikaela.github.io
This commit is contained in:
parent
ea10cc08b7
commit
c82943b61b
@ -1,5 +1,3 @@
|
|||||||
# @format
|
|
||||||
|
|
||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.ci for more information
|
# See https://pre-commit.ci for more information
|
||||||
ci:
|
ci:
|
||||||
@ -35,6 +33,7 @@ repos:
|
|||||||
- id: destroyed-symlinks
|
- id: destroyed-symlinks
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
|
- id: check-merge-conflict
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: [--fix=auto]
|
args: [--fix=auto]
|
||||||
- id: pretty-format-json
|
- id: pretty-format-json
|
||||||
@ -62,6 +61,12 @@ repos:
|
|||||||
- id: doctoc
|
- id: doctoc
|
||||||
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
||||||
args: [--update-only, --notitle]
|
args: [--update-only, --notitle]
|
||||||
|
#args: [
|
||||||
|
# --update-only,
|
||||||
|
# --title,
|
||||||
|
# '<em lang="fi">Automaattinen sisällysluettelo</em> / <em
|
||||||
|
# lang="en">Automatically generated Table of Contents</em>',
|
||||||
|
# ]
|
||||||
|
|
||||||
# GitHub Actions etc. configuration validity checking
|
# GitHub Actions etc. configuration validity checking
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
|
Loading…
Reference in New Issue
Block a user