chore: add pre-commit config

This commit is contained in:
Ali Almohaya 2022-09-26 23:46:12 +03:00
parent 1377458fe3
commit 535f44a2e9
No known key found for this signature in database
GPG key ID: 4B80BC43FC6007E0

11
.pre-commit-config.yaml Normal file
View 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