Skip to content

Commit

Permalink
Add pre-commit configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Block <[email protected]>
  • Loading branch information
unixorn committed Nov 25, 2023
1 parent 1e773aa commit f836d14
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# 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.4.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc

0 comments on commit f836d14

Please sign in to comment.