Skip to content

Commit

Permalink
feat: add jsonnetfmt (#230)
Browse files Browse the repository at this point in the history
* feat: add jsonnetfmt

* fix: use stdin

* docs: adjust name

* docs: adjust url
  • Loading branch information
dadav committed Dec 5, 2023
1 parent 96cb2d5 commit 769dde8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/jsonnetfmt.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/google/go-jsonnet/tree/master/cmd/jsonnetfmt",
description = "jsonnetfmt is a command line tool to format jsonnet files.",
},
command = "jsonnetfmt",
args = { "-" },
stdin = true,
}

0 comments on commit 769dde8

Please sign in to comment.