2019-10-24 12:35:49 -07:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-06-09 13:20:28 -07:00
|
|
|
rev: v4.4.0
|
2019-10-24 12:35:49 -07:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
2019-10-24 14:29:16 -07:00
|
|
|
- repo: https://github.com/Kuniwak/vint
|
2021-12-15 09:37:19 -08:00
|
|
|
rev: v0.4a3
|
2019-10-24 12:35:49 -07:00
|
|
|
hooks:
|
|
|
|
- id: vint
|
2019-10-24 13:27:01 -07:00
|
|
|
exclude: >
|
|
|
|
(?x)^(
|
|
|
|
vim/colors/.*\.vim
|
|
|
|
)$
|
2022-02-28 16:31:56 -08: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 13:12:02 -07:00
|
|
|
types: [text]
|
2024-11-04 11:36:57 -08: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]
|