add pre-commit config
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
it's sane to have some pre-flight checks, pre-commit makes it easy. ref: https://pre-commit.com/
This commit is contained in:
parent
6fcef0ce11
commit
b2dadd2b4a
6
.pre-commit-config.yaml
Normal file
6
.pre-commit-config.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: check-merge-conflict
|
||||
- id: check-toml
|
Loading…
Reference in New Issue
Block a user