aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
+}