2021-08-13 12:11:18 +02:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: shfmt
|
|
|
|
name: shfmt
|
|
|
|
minimum_pre_commit_version: 2.4.0
|
2021-08-15 17:38:47 +02:00
|
|
|
language: system
|
2021-08-13 12:11:18 +02:00
|
|
|
types: [shell]
|
2021-08-17 09:37:11 +02:00
|
|
|
entry: bash
|
2021-09-09 18:53:21 +02:00
|
|
|
args: [-c, make lint-sh]
|
2021-08-13 12:11:18 +02:00
|
|
|
- id: shellcheck
|
|
|
|
name: shellcheck
|
|
|
|
language: system
|
|
|
|
types: [shell]
|
|
|
|
entry: bash
|
2021-09-09 18:53:21 +02:00
|
|
|
args: [-c, make style-sh]
|
2021-08-13 12:11:18 +02:00
|
|
|
- id: stylua
|
|
|
|
name: StyLua
|
|
|
|
language: rust
|
|
|
|
entry: stylua
|
|
|
|
types: [lua]
|
2021-09-09 18:53:21 +02:00
|
|
|
args: ["-"]
|
2021-08-13 12:11:18 +02:00
|
|
|
- id: luacheck
|
|
|
|
name: luacheck
|
|
|
|
language: system
|
|
|
|
entry: luacheck
|
|
|
|
types: [lua]
|
|
|
|
args: [.]
|
2021-09-30 07:44:35 +02:00
|
|
|
- id: commitlint
|
|
|
|
name: commitlint
|
|
|
|
language: system
|
|
|
|
entry: bash
|
|
|
|
args: [./utils/ci/run_commitlint.sh]
|
|
|
|
stages: [commit-msg]
|