Skip to main content

Customize Outputs

By default, lintnet outputs JSON when the lint fails. You can custmize the JSON format with Jsonnet and Go's text/template and html/template.

For detail, please see the example.

Output JSON even if lint passes​

By default lintnet lint command outputs nothing if lint passes. If you want to output JSON even if lint passes, please use --output-success option.

lintnet lint -output-success