mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
jj: add shfmt fix tool
This commit is contained in:
parent
7f2e7b70e4
commit
5a62d96f90
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ colocate = true
|
||||||
sign-on-push = true
|
sign-on-push = true
|
||||||
auto-local-bookmark = true
|
auto-local-bookmark = true
|
||||||
private-commits = "private()"
|
private-commits = "private()"
|
||||||
# push-bookmark-prefix = "olexsmir/"
|
|
||||||
|
|
||||||
[aliases]
|
[aliases]
|
||||||
l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"]
|
l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"]
|
||||||
|
|
@ -52,3 +51,7 @@ patterns = ["glob:'**/*.go'"]
|
||||||
[fix.tools.gleam]
|
[fix.tools.gleam]
|
||||||
command = ["gleam", "format", "--stdin"]
|
command = ["gleam", "format", "--stdin"]
|
||||||
patterns = ["glob:'**/*.gleam'"]
|
patterns = ["glob:'**/*.gleam'"]
|
||||||
|
|
||||||
|
[fix.tools.shfmt]
|
||||||
|
command = ["shfmt"]
|
||||||
|
patterns = ["glob:'**/*.sh'"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue