vim-settings/.pre-commit-config.yaml
2022-01-10 14:58:29 -08:00

31 lines
634 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/Kuniwak/vint
rev: v0.4a3
hooks:
- id: vint
exclude: >
(?x)^(
vim/colors/.*\.vim
)$
- repo: local
hooks:
- id: luacheck
name: Luacheck
entry: luacheck
args:
- --globals
- vim
- --
language: system
types: [file, lua]
- repo: https://github.com/johnnymorganz/stylua
rev: v0.11.3
hooks:
- id: stylua