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

34 lines
816 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-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]
- 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]