vim-settings/.pre-commit-config.yaml

36 lines
819 B
YAML
Raw Permalink Normal View History

2019-10-24 19:35:49 +00:00
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
2019-10-24 19:35:49 +00:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
2019-10-24 21:29:16 +00:00
- repo: https://github.com/Kuniwak/vint
2021-12-15 17:37:19 +00:00
rev: v0.4a3
2019-10-24 19:35:49 +00:00
hooks:
- id: vint
2019-10-24 20:27:01 +00:00
exclude: >
(?x)^(
vim/colors/.*\.vim
)$
2022-01-03 06:50:58 +00:00
- repo: https://github.com/johnnymorganz/stylua
rev: v0.17.1
2021-12-15 17:37:19 +00:00
hooks:
- id: stylua-github
- repo: https://github.com/lunarmodules/luacheck
rev: v1.1.0
hooks:
- id: luacheck
args:
- --globals
- vim
- --
2022-03-01 00:31:56 +00:00
- repo: local
hooks:
- id: sort-json
name: sort json files with jq
language: script
entry: ./scripts/sort-json.sh
files: "(\\.json$|^neovim/packer_snapshots/)"
2023-06-09 20:12:02 +00:00
types: [text]