From 535f44a2e934af0a882713634105b2e4f7fb1a22 Mon Sep 17 00:00:00 2001 From: Ali Almohaya Date: Mon, 26 Sep 2022 23:46:12 +0300 Subject: [PATCH] chore: add pre-commit config --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7795dac --- /dev/null +++ b/.pre-commit-config.yaml @@ -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