22 lines
645 B
YAML
22 lines
645 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: destroyed-symlinks
|
|
- id: detect-private-key
|
|
- id: check-ast
|
|
- id: check-case-conflict
|
|
- id: debug-statements
|
|
|
|
- repo: https://codeberg.org/frnmst/md-toc
|
|
rev: '8.1.1' # or a specific git tag from md-toc
|
|
hooks:
|
|
- id: md-toc
|
|
args: [-p, 'github', '-l6'] # CLI options
|