mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
pre commit hook
This commit is contained in:
parent
49b91b6b1f
commit
33f1760f4d
2 changed files with 11 additions and 0 deletions
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: my-check
|
||||
name: 'My Custom Check'
|
||||
entry: ./script.sh
|
||||
language: script
|
||||
|
||||
3
script.sh
Executable file
3
script.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
echo "All checks passed"
|
||||
|
||||
Loading…
Add table
Reference in a new issue