summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-09-09 18:53:21 +0200
committerGitHub <[email protected]>2021-09-09 18:53:21 +0200
commit38f53bf08c974791f3d51e8a9c7efe9373c8ce3a (patch)
tree3f2d5ff1f55bc6fbddc0259fc59cf64155c29edf /.pre-commit-config.yaml
parentac32f2e64d61291ba4969599827eef515712d5d8 (diff)
[Feature]: Add some very basic unit-tests (#1369)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8ecda3bd..38ce72dc 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -7,20 +7,19 @@ repos:
language: system
types: [shell]
entry: bash
- args: [-c, "shfmt -f $(git rev-parse --show-toplevel) | grep -v jdtls | xargs shfmt -i=2 -ci -w"]
+ args: [-c, make lint-sh]
- id: shellcheck
name: shellcheck
language: system
types: [shell]
entry: bash
- args:
- [-c, "shfmt -f $(git rev-parse --show-toplevel) | grep -v jdtls | xargs shellcheck"]
+ args: [-c, make style-sh]
- id: stylua
name: StyLua
language: rust
entry: stylua
types: [lua]
- args: ['-']
+ args: ["-"]
- id: luacheck
name: luacheck
language: system