diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-01 20:59:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 11:59:59 -0700 |
commit | 8fd894cdc248cad64dbfeac6b89e03db9f737a35 (patch) | |
tree | 1ba3127bbf4bf8e2b43a79293d41a8865abee584 /lua | |
parent | 28abd3ad474aa0654caa57fdccde77afc96ccc59 (diff) |
feat: add support for npm-groovy-lint (#433)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/npm-groovy-lint.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/npm-groovy-lint.lua b/lua/conform/formatters/npm-groovy-lint.lua new file mode 100644 index 0000000..59f85bc --- /dev/null +++ b/lua/conform/formatters/npm-groovy-lint.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/nvuillam/npm-groovy-lint", + description = "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line.", + }, + command = "npm-groovy-lint", + args = { "--fix", "$FILENAME" }, + stdin = false, +} |