aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorSeth Daniel <github.com@sethdaniel.org>2023-08-29 20:33:59 -0500
committerGitHub <noreply@github.com>2023-08-29 18:33:59 -0700
commit863fb46fc7a7fa66fafb4bb8fd8093c700c472e5 (patch)
tree86bdbe71423b1c6731c8651a3475159e046d795c /lua/conform/formatters
parent52d17de0b5be704d9cc44eb83ebd4250d30b1bed (diff)
feat: add shellharden (#14)
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r--lua/conform/formatters/shellharden.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/shellharden.lua b/lua/conform/formatters/shellharden.lua
new file mode 100644
index 0000000..c79063b
--- /dev/null
+++ b/lua/conform/formatters/shellharden.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/anordal/shellharden",
+ description = "The corrective bash syntax highlighter",
+ },
+ command = "shellharden",
+ args = { "--transform", "''" },
+}