diff options
Diffstat (limited to 'lua/conform/formatters/dcm_fix.lua')
-rw-r--r-- | lua/conform/formatters/dcm_fix.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/dcm_fix.lua b/lua/conform/formatters/dcm_fix.lua new file mode 100644 index 0000000..1f0426e --- /dev/null +++ b/lua/conform/formatters/dcm_fix.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://dcm.dev/docs/cli/formatting/fix/", + description = "Fixes issues produced by dcm analyze, dcm check-unused-code or dcm check-dependencies commands.", + }, + command = "dcm", + args = { "fix", "$FILENAME" }, + stdin = false, +} |