mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 21:26:27 +00:00
afa67c1b0c
Also moves pre-commit hooks to system hooks to make sure editing and committing versions match
34 lines
816 B
YAML
34 lines
816 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.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: sort-json
|
|
name: sort json files with jq
|
|
language: script
|
|
entry: ./scripts/sort-json.sh
|
|
files: "(\\.json$|^neovim/packer_snapshots/)"
|
|
types: [text]
|
|
- id: selene
|
|
name: An opinionated Lua code linter
|
|
entry: selene
|
|
language: system
|
|
types: [lua]
|
|
- id: stylua
|
|
name: An opinionated Lua code formatter
|
|
entry: selene
|
|
language: system
|
|
types: [lua]
|