diff --git a/lua/conform/formatters/puppet-lint.lua b/lua/conform/formatters/puppet-lint.lua new file mode 100644 index 00000000..6cc231e9 --- /dev/null +++ b/lua/conform/formatters/puppet-lint.lua @@ -0,0 +1,11 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/puppetlabs/puppet-lint", + description = "Check that your Puppet manifests conform to the style guide.", + }, + command = "puppet-lint", + args = { "--fix", "$FILENAME" }, + stdin = false, + exit_codes = { 0, 1 }, +}