mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
.pre-commit-config.yaml: merge with my other repos
This commit is contained in:
parent
1feed4ea3f
commit
7acf34ca71
@ -10,10 +10,39 @@ repos:
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-byte-order-marker
|
||||
|
||||
# Markdown Table of Contents generation.
|
||||
- repo: https://github.com/thlorenz/doctoc
|
||||
rev: v2.2.0
|
||||
hooks:
|
||||
- id: doctoc
|
||||
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
||||
args: [--update-only]
|
||||
|
||||
# GitHub Actions etc. configuration validity checking
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.22.0
|
||||
hooks:
|
||||
- id: check-dependabot
|
||||
- id: check-github-actions
|
||||
- id: check-github-workflows
|
||||
- id: check-gitlab-ci
|
||||
|
||||
# Easierish licensing when attempting reuse compliancy
|
||||
#- repo: https://github.com/fsfe/reuse-tool
|
||||
# rev: v1.1.2
|
||||
# hooks:
|
||||
# - id: reuse
|
||||
|
||||
# prettier & editorconfig checker should probably be ran last
|
||||
|
||||
# prettier
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.0-alpha.6"
|
||||
hooks:
|
||||
- id: prettier
|
||||
|
||||
# .editorconfig validity checking
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.1"
|
||||
hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user