mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 05:02:09 +00:00
ci: update pre-commit
This commit is contained in:
parent
9fbe6b6d01
commit
a51dc43de7
1 changed files with 24 additions and 1 deletions
|
|
@ -14,4 +14,27 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
name: prettier
|
name: prettier
|
||||||
files: \.(md|toml|yaml|yml|sh)$
|
files: \.(md|toml|yaml|yml)$
|
||||||
|
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: selene
|
||||||
|
name: selene (Lua linter)
|
||||||
|
entry: selene --display-style quiet
|
||||||
|
language: system
|
||||||
|
files: \.lua$
|
||||||
|
pass_filenames: true
|
||||||
|
|
||||||
|
- id: vimdoc
|
||||||
|
name: vimdoc-language-server
|
||||||
|
entry: vimdoc-language-server check doc/
|
||||||
|
language: system
|
||||||
|
files: ^doc/.*\.txt$
|
||||||
|
pass_filenames: false
|
||||||
|
|
||||||
|
- id: nixfmt
|
||||||
|
name: nixfmt
|
||||||
|
entry: nixfmt --check
|
||||||
|
language: system
|
||||||
|
files: \.nix$
|
||||||
|
pass_filenames: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue