Mercurial > dotfiles
annotate .pre-commit-config.yaml @ 876:8589883596fd
fix: remove pathdirs option to avoid slow path completions
see: https://stackoverflow.com/questions/76746392/why-is-my-zsh-tab-completion-slow-on-commands-but-not-directories
> Perform a path search even on command names with slashes in them.
> Thus if ?/usr/local/bin? is in the user?s path, and he or she types ?X11/xinit?, the command ?/usr/local/bin/X11/xinit? will be executed (assuming it exists).
> Commands explicitly beginning with ?/?, ?./? or ?../? are not subject to the path search. This also applies to the ?.? and source builtins.
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Thu, 25 Apr 2024 10:05:40 +0200 |
parents | 9c8698e50c5e |
children | 768ab9f6fdf0 |
rev | line source |
---|---|
414 | 1 repos: |
2 - repo: https://github.com/pre-commit/pre-commit-hooks | |
801
16d86895ac4b
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parents:
799
diff
changeset
|
3 rev: v4.5.0 |
414 | 4 hooks: |
5 - id: check-yaml | |
678
65f405947a28
Enable extra pre-commit checks (#4)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
675
diff
changeset
|
6 - id: check-toml |
414 | 7 - id: end-of-file-fixer |
8 - id: trailing-whitespace | |
678
65f405947a28
Enable extra pre-commit checks (#4)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
675
diff
changeset
|
9 - id: check-merge-conflict |
673
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
672
diff
changeset
|
10 |
672
627d2040c3ff
Use official stylua pre-commit config
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
414
diff
changeset
|
11 - repo: https://github.com/JohnnyMorganz/StyLua |
802
9c8698e50c5e
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parents:
801
diff
changeset
|
12 rev: v0.19.1 |
414 | 13 hooks: |
675 | 14 - id: stylua-github |
673
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
672
diff
changeset
|
15 |
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
672
diff
changeset
|
16 - repo: https://github.com/pre-commit/mirrors-prettier |
801
16d86895ac4b
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parents:
799
diff
changeset
|
17 rev: v3.1.0 |
673
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
672
diff
changeset
|
18 hooks: |
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
672
diff
changeset
|
19 - id: prettier |
678
65f405947a28
Enable extra pre-commit checks (#4)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
675
diff
changeset
|
20 |
761
ec5b57266af2
feat: add lazy-lock.json as a symlink
zegervdv <zegervdv@me.com>
parents:
752
diff
changeset
|
21 exclude: "^(.chezmoiexternal.toml|.chezmoitemplates/lazy-lock.json)$" |