aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
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", "''" },
+}