feat: add pre-commit ci (#1824)

This commit is contained in:
yetone
2025-04-07 14:55:21 +08:00
committed by GitHub
parent 1e2e233ff5
commit f83378a67e
7 changed files with 46 additions and 83 deletions

View File

@@ -12,6 +12,10 @@ repos:
hooks:
- id: stylua-system # or stylua-system / stylua-github
files: \.lua$
- repo: https://github.com/Calinou/pre-commit-luacheck
rev: v1.0.0
hooks:
- id: luacheck
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks: