From 8fd894cdc248cad64dbfeac6b89e03db9f737a35 Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Sat, 1 Jun 2024 20:59:59 +0200 Subject: feat: add support for npm-groovy-lint (#433) --- lua/conform/formatters/npm-groovy-lint.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/npm-groovy-lint.lua (limited to 'lua/conform/formatters') 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, +} -- cgit v1.2.3-70-g09d2