fix: remove shfmt, add beautysh

This commit is contained in:
2025-01-07 13:54:48 -05:00
parent 7dfe1a6351
commit 2060d8cd73
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ return {
html = { 'htmlhint' }, html = { 'htmlhint' },
json = { 'jsonlint' }, json = { 'jsonlint' },
sh = { 'shellcheck' }, sh = { 'shellcheck' },
zsh = { 'shellcheck' },
bash = { 'shellcheck' }, bash = { 'shellcheck' },
javascript = { 'eslint_d', 'trivy' }, javascript = { 'eslint_d', 'trivy' },
typescript = { 'eslint_d' }, typescript = { 'eslint_d' },
@@ -32,4 +31,4 @@ return {
end, end,
}) })
end, end,
} }
+4 -4
View File
@@ -3,9 +3,9 @@ return {
event = { 'BufReadPre', 'BufNewFile' }, event = { 'BufReadPre', 'BufNewFile' },
opts = { opts = {
formatters_by_ft = { formatters_by_ft = {
sh = { 'shellharden', 'shfmt' }, sh = { 'beautysh', 'shellharden' },
bash = { 'shellharden', 'shfmt' }, bash = { 'beautysh', 'shellharden' },
zsh = { 'shellharden', 'shfmt' }, zsh = { 'beautysh' },
javascript = { 'prettier' }, javascript = { 'prettier' },
typescript = { 'prettier' }, typescript = { 'prettier' },
css = { 'prettier' }, css = { 'prettier' },
@@ -32,4 +32,4 @@ return {
timeout_ms = 1000, timeout_ms = 1000,
}, },
}, },
} }