feat: Add shell formatters

This commit is contained in:
punkfairie 2025-03-11 20:33:33 -07:00
parent fed5136bc7
commit dba8847475
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 13 additions and 0 deletions

View file

@ -135,6 +135,7 @@
rubyPackages.erb-formatter
ruff
shellcheck
shfmt
sqlfluff
stdenv.cc.cc
stylelint

View file

@ -9,6 +9,18 @@ return {
liquid = { 'prettier' },
nix = { 'alejandra' },
scss = { 'stylelint' },
sh = { 'shellcheck', 'shfmt' },
},
formatters = {
shfmt = {
prepend_args = {
'--indent=2',
'--case-indent',
'--binary-next-line',
'--func-next-line',
},
},
},
},
},