Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ indent_style = tab
indent_style = space
indent_size = 2

# Non-standard config for shfmt
[[shell]]
indent_style = space
indent_size = 2
simplify = true

[*.py]
indent_style = space
indent_size = 4
Expand Down
23 changes: 15 additions & 8 deletions mise.devbase.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mise.devbase.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ gofumpt = "0.9.2"
golangci-lint = "2.9.0"
kubeconform = "0.6.4"
shellcheck = "0.11.0"
shfmt = "3.7.0"
shfmt = "3.13.1"
terraform = "1.4.4"
tombi = "0.7.27"
"github:getoutreach/kubecfg" = "0.34.0"
Expand Down
5 changes: 1 addition & 4 deletions shell/shfmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
# shellcheck source=./lib/mise/stub.sh
source "$DIR/lib/mise/stub.sh"

# Always set simplify mode.
args=("--simplify" "$@")

mise_exec_tool shfmt "${args[@]}"
mise_exec_tool shfmt "$@"