We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62db7d7 commit edb09e6Copy full SHA for edb09e6
.config/lefthook.yaml
@@ -12,7 +12,7 @@ pre-commit:
12
group:
13
jobs:
14
- name: shfmt
15
- run: mise exec -- shfmt --write --simplify {staged_files}
+ run: mise exec -- shfmt --write {staged_files}
16
- name: shellcheck
17
run: mise exec -- shellcheck --format=gcc {staged_files}
18
- name: tool-made-changes
.dir-locals.el
@@ -2,5 +2,4 @@
2
;;; For more information see (info "(emacs) Directory Variables")
3
4
((sh-mode
5
- (mode . shfmt-on-save)
6
- (shfmt-arguments "-s")))
+ (mode . shfmt-on-save)))
.editorconfig
@@ -10,3 +10,4 @@ indent_size = 8
10
indent_style = tab
11
# shfmt
shell_variant = posix
+simplify = true
0 commit comments