Open4
jsonnet を lint したい

jsonnet-linter
というものがありそう

インストール
brew install go-jsonnet

$ jsonnet-lint --help
Jsonnet linter v0.20.0
jsonnet-lint {<option>} { <filenames ...> }
Available options:
-h / --help This message
-J / --jpath <dir> Specify an additional library search dir
(right-most wins)
--version Print version
Environment variables:
JSONNET_PATH is a colon (semicolon on Windows) separated list of directories
added in reverse order before the paths specified by --jpath (i.e. left-most
wins). E.g. these are equivalent:
JSONNET_PATH=a:b jsonnet -J c -J d
JSONNET_PATH=d:c:a:b jsonnet
jsonnet -J b -J a -J c -J d
In all cases:
<filename> can be - (stdin)
Multichar options are expanded e.g. -abc becomes -a -b -c.
The -- option suppresses option processing for subsequent arguments.
Note that since filenames and jsonnet programs can begin with -, it is
advised to use -- if the argument is unknown, e.g. jsonnet-lint -- "$FILENAME".
Exit code:
0 – If the file was checked no problems were found.
1 – If errors occured which prevented checking (e.g. specified file is missing).
2 – If problems were found.

どのような Rule が実装されているか見てみる
(TBD)