aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMads Hougesen <mads@mhouge.dk>2024-06-01 20:59:59 +0200
committerGitHub <noreply@github.com>2024-06-01 11:59:59 -0700
commit8fd894cdc248cad64dbfeac6b89e03db9f737a35 (patch)
tree1ba3127bbf4bf8e2b43a79293d41a8865abee584
parent28abd3ad474aa0654caa57fdccde77afc96ccc59 (diff)
feat: add support for npm-groovy-lint (#433)
-rw-r--r--lua/conform/formatters/npm-groovy-lint.lua10
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,
+}