loader/jsonconfig/task.go

Summary

Maintainability
A
40 mins
Test Coverage

Function translateTask has 6 return statements (exceeds 4 allowed).
Open

func translateTask(
    parent *config.Config,
    name string,
    data json.RawMessage,
) (config.Task, error) {
Severity: Major
Found in loader/jsonconfig/task.go - About 40 mins to fix

    TODO found
    Open

            // TODO - need to go through these things and do (%s)
    Severity: Minor
    Found in loader/jsonconfig/task.go by fixme

    exported type TaskTypeHint should have comment or be unexported
    Open

        TaskTypeHint struct {
    Severity: Minor
    Found in loader/jsonconfig/task.go by golint

    exported type Task should have comment or be unexported
    Open

        Task interface {
    Severity: Minor
    Found in loader/jsonconfig/task.go by golint

    exported type TaskExtendHint should have comment or be unexported
    Open

        TaskExtendHint struct {
    Severity: Minor
    Found in loader/jsonconfig/task.go by golint

    There are no issues that match your filters.

    Category
    Status