avante.nvim/.pre-commit-config.yaml

18 lines
419 B
YAML
Raw Normal View History

2024-08-15 10:33:22 +08:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v0.20.0
hooks:
2024-11-17 00:39:03 +08:00
- id: stylua-system # or stylua-system / stylua-github
2024-08-15 10:35:11 +08:00
files: \.lua$
2024-09-25 17:05:55 +08:00
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
files: \.rs$