|
@@ -5,16 +5,16 @@ repos:
|
|
name: shfmt
|
|
name: shfmt
|
|
minimum_pre_commit_version: 2.4.0
|
|
minimum_pre_commit_version: 2.4.0
|
|
language: system
|
|
language: system
|
|
- entry: shfmt
|
|
|
|
- args: [-i=2, -ci, -w]
|
|
|
|
types: [shell]
|
|
types: [shell]
|
|
|
|
+ entry: bash
|
|
|
|
+ args: [-c, "shfmt -f $(git rev-parse --show-toplevel) | grep -v jdtls | xargs shfmt -i=2 -ci -w"]
|
|
- id: shellcheck
|
|
- id: shellcheck
|
|
name: shellcheck
|
|
name: shellcheck
|
|
language: system
|
|
language: system
|
|
types: [shell]
|
|
types: [shell]
|
|
entry: bash
|
|
entry: bash
|
|
args:
|
|
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
|
|
- id: stylua
|
|
name: StyLua
|
|
name: StyLua
|
|
language: rust
|
|
language: rust
|