Skip to content

Commit

Permalink
feat: add puppet-lint formatter (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
misaflo authored Oct 20, 2023
1 parent 55abaaa commit 0219648
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/conform/formatters/puppet-lint.lua
Original file line number Diff line number Diff line change
@@ -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 },
}

0 comments on commit 0219648

Please sign in to comment.