chore: add pre-commit hooks
This commit is contained in:
parent
a87334704c
commit
4a113e6dcf
1 changed files with 15 additions and 0 deletions
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: stylua
|
||||
name: StyLua
|
||||
language: rust
|
||||
entry: stylua
|
||||
types: [lua]
|
||||
args: ["-"]
|
||||
- id: selene
|
||||
name: Selene
|
||||
language: rust
|
||||
entry: selene
|
||||
types: [lua]
|
||||
args: ["-"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue