ST-Apps/codeclimate-tflint

View on GitHub
codeclimate/formatter.go

Summary

Maintainability
A
1 hr
Test Coverage

Function CodeClimatePrint has 52 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func CodeClimatePrint(issues formatter.JSONOutput) {
    for _, issue := range issues.Issues {
        ccIssue := CodeClimateIssue{
            Type:           "issue",
            CheckName:      issue.Rule.Name,
Severity: Minor
Found in codeclimate/formatter.go - About 1 hr to fix

    2: cannot find package "github.com/oriser/regroup" in any of:
    Open

        "github.com/oriser/regroup"
    Severity: Minor
    Found in codeclimate/formatter.go by govet

    There are no issues that match your filters.

    Category
    Status