go-ml.dev/pkg/base@v0.0.0-20200610162856-60c38abac71b/.codeclimate.yml (about)

     1  version: "2"
     2  checks:
     3    argument-count:
     4      enabled: true
     5      config:
     6        threshold: 16
     7    complex-logic:
     8      enabled: true
     9      config:
    10        threshold: 95
    11    file-lines:
    12      enabled: true
    13      config:
    14        threshold: 1000
    15    method-complexity:
    16      enabled: true
    17      config:
    18        threshold: 95
    19    method-count:
    20      enabled: true
    21      config:
    22        threshold: 100
    23    method-lines:
    24      enabled: true
    25      config:
    26        threshold: 100
    27    nested-control-flow:
    28      enabled: true
    29      config:
    30        threshold: 10
    31    return-statements:
    32      enabled: false
    33      #config:
    34      #  threshold: 4
    35    similar-code:
    36      enabled: false
    37      #config:
    38      #  threshold: #language-specific defaults. overrides affect all languages.
    39    identical-code:
    40      enabled: false
    41      #config:
    42      #  threshold: #language-specific defaults. overrides affect all languages.
    43  
    44  plugins:
    45    gofmt:
    46      enabled: true
    47    golint:
    48      enabled: true
    49      config:
    50        min_confidence: 0.9
    51    govet:
    52      enabled: true
    53  
    54  #exclude_patterns: