mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-10-31 23:46:28 +00:00
Clean pre-commit checks a little bit
This commit is contained in:
parent
fd5e698787
commit
8404ef0005
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user