diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1023c28..b90b515 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -14,7 +14,7 @@ description: Shell source code formatter (build from source) language: golang # Note: keep Go version in `go.mod` in sync with shfmt's required Go version - additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.13.1] + additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.14.0] entry: shfmt args: [--write] types: [shell] @@ -27,7 +27,7 @@ description: Shell source code formatter (Docker image) language: docker_image # Note: use the top level multiplatform image digest here - entry: --net none mvdan/shfmt:v3.13.1@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be + entry: --net none mvdan/shfmt:v3.14.0@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be args: [--write] types: [shell] exclude_types: [csh, tcsh] diff --git a/README.md b/README.md index c4f3541..f110db0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Usage in `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.13.1-1 + rev: v3.14.0-1 hooks: # Choose one of: - id: shfmt # prebuilt upstream executable