2019-10-24 19:35:49 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-06-09 20:20:28 +00:00
|
|
|
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]
|
2024-11-04 19:36:57 +00:00
|
|
|
- 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]
|