chore: add pre-commit config
This commit is contained in:
parent
1377458fe3
commit
535f44a2e9
1 changed files with 11 additions and 0 deletions
11
.pre-commit-config.yaml
Normal file
11
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
repos:
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: stylua
|
||||||
|
name: StyLua format
|
||||||
|
language: rust
|
||||||
|
entry: make fmt
|
||||||
|
- id: luacheck
|
||||||
|
name: Linting luacheck
|
||||||
|
language: lua
|
||||||
|
entry: make lint
|
||||||
Loading…
Add table
Reference in a new issue