chore: add pre-commit hooks

This commit is contained in:
Smirnov Olexander 2022-06-17 00:23:44 +03:00
parent a87334704c
commit 4a113e6dcf

15
.pre-commit-config.yaml Normal file
View 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: ["-"]