diff options
author | Abouzar Parvan <[email protected]> | 2021-08-17 12:07:11 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-17 07:37:11 +0000 |
commit | 1cc2452eb7b76aad36a6d9d210abff88edf6721a (patch) | |
tree | 73327aecc065e55d51bfaca3a589542e56b7ac77 /.pre-commit-config.yaml | |
parent | c76cc0ea8ae793b4feb0c28407d0f0de104aef43 (diff) |
[Bugfix] ignore jdtls to fix `CI` (#1339)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9172b0f1..8ecda3bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,16 +5,16 @@ repos: name: shfmt minimum_pre_commit_version: 2.4.0 language: system - entry: shfmt - args: [-i=2, -ci, -w] types: [shell] + entry: bash + args: [-c, "shfmt -f $(git rev-parse --show-toplevel) | grep -v jdtls | xargs shfmt -i=2 -ci -w"] - id: shellcheck name: shellcheck language: system types: [shell] entry: bash args: - [-c, "shfmt -f $(git rev-parse --show-toplevel) | xargs shellcheck"] + [-c, "shfmt -f $(git rev-parse --show-toplevel) | grep -v jdtls | xargs shellcheck"] - id: stylua name: StyLua language: rust |