mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-12-11 20:17:54 +00:00
Merge branch 'git-precommit-hooks' into 'main'
hook: Add pre-commit.com config to repo See merge request netravnen/NetworkLabNotes!29
This commit is contained in:
commit
64302cad2c
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
#
|
||||
# To skip hooks on single commit, use --no-verify
|
||||
#
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
Loading…
Reference in a new issue