Clean pre-commit checks a little bit

This commit is contained in:
ViViDboarder 2023-06-09 13:12:02 -07:00
parent fd5e698787
commit 8404ef0005
2 changed files with 11 additions and 12 deletions

View File

@ -13,17 +13,6 @@ repos:
(?x)^( (?x)^(
vim/colors/.*\.vim 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 - repo: https://github.com/johnnymorganz/stylua
rev: v0.15.2 rev: v0.15.2
hooks: hooks:
@ -35,3 +24,13 @@ repos:
language: script language: script
entry: ./scripts/sort-json.sh entry: ./scripts/sort-json.sh
files: "(\\.json$|^neovim/packer_snapshots/)" files: "(\\.json$|^neovim/packer_snapshots/)"
types: [text]
- id: luacheck
name: Luacheck
entry: luacheck
args:
- --globals
- vim
- --
language: system
types: [lua]