diff options
author | Mads Hougesen <madshougesen@gmail.com> | 2024-06-25 02:30:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 17:30:07 -0700 |
commit | b67f2732a2d0276454c7623204741d908de5358a (patch) | |
tree | 7a54fe4060ae22fa0bcae177caf35cc1e437a0ba /lua/conform/formatters/dcm_fix.lua | |
parent | b23b548461b9636a4ba28dce8f06807cd72e9336 (diff) |
feat: support dcm fix and dcm format (#471)
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, +} |