chore: add pre-commit and just
This commit is contained in:
parent
4f410e1e86
commit
e0baf82356
4 changed files with 21 additions and 5 deletions
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: treefmt
|
||||
name: treefmt
|
||||
pass_filenames: false
|
||||
entry: treefmt
|
||||
language: system
|
Loading…
Add table
Add a link
Reference in a new issue