The following error is thrown when a rego rule returns an empty array of errors, resulting in the linting process to fail and errors in the report:
panic: interface conversion: interface {} is nil, not []interface {}
It seems this is caused by an unsafe evaluation of the errors array on line 75 in lint_rego.go:
errors := rsmap["errors"].([]interface{})
which could supposedly be fixed by adding an explicit check for an empty array:
errors, ok := rsmap["errors"].([]interface{})
if !ok || errors == nil {
errors = []interface{}{}
}