diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-23 12:42:37 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-23 12:42:37 +0900 |
| commit | 07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch) | |
| tree | a6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/LunarVim/.pre-commit-config.yaml | |
| parent | 6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff) | |
updates
Diffstat (limited to 'mac/.config/LunarVim/.pre-commit-config.yaml')
| -rw-r--r-- | mac/.config/LunarVim/.pre-commit-config.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mac/.config/LunarVim/.pre-commit-config.yaml b/mac/.config/LunarVim/.pre-commit-config.yaml new file mode 100644 index 0000000..2c4921e --- /dev/null +++ b/mac/.config/LunarVim/.pre-commit-config.yaml @@ -0,0 +1,34 @@ +repos: + - repo: local + hooks: + - id: shfmt + name: shfmt + minimum_pre_commit_version: 2.4.0 + language: system + types: [shell] + entry: bash + args: [-c, make lint-sh] + - id: shellcheck + name: shellcheck + language: system + types: [shell] + entry: bash + args: [-c, make style-sh] + - id: stylua + name: StyLua + language: rust + entry: stylua + types: [lua] + args: ["-"] + - id: luacheck + name: luacheck + language: system + entry: luacheck + types: [lua] + args: [.] + - id: commitlint + name: commitlint + language: system + entry: bash + args: [./utils/ci/run_commitlint.sh] + stages: [commit-msg] |
