...

Text file src/github.com/go-openapi/runtime/.golangci.yml

Documentation: github.com/go-openapi/runtime

     1linters-settings:
     2  govet:
     3    check-shadowing: true
     4  golint:
     5    min-confidence: 0
     6  gocyclo:
     7    min-complexity: 45
     8  maligned:
     9    suggest-new: true
    10  dupl:
    11    threshold: 200
    12  goconst:
    13    min-len: 2
    14    min-occurrences: 3
    15
    16linters:
    17  enable-all: true
    18  disable:
    19    - nilerr # nilerr crashes on this repo
    20    - maligned
    21    - unparam
    22    - lll
    23    - gochecknoinits
    24    - gochecknoglobals
    25    - funlen
    26    - godox
    27    - gocognit
    28    - whitespace
    29    - wsl
    30    - wrapcheck
    31    - testpackage
    32    - nlreturn
    33    - gomnd
    34    - exhaustivestruct
    35    - goerr113
    36    - errorlint
    37    - nestif
    38    - godot
    39    - gofumpt
    40    - paralleltest
    41    - tparallel
    42    - thelper
    43    - ifshort
    44    - exhaustruct
    45    - varnamelen
    46    - gci
    47    - depguard
    48    - errchkjson
    49    - inamedparam
    50    - nonamedreturns
    51    - musttag
    52    - ireturn
    53    - forcetypeassert
    54    - cyclop
    55    # deprecated linters
    56    - deadcode
    57    - interfacer
    58    - scopelint
    59    - varcheck
    60    - structcheck
    61    - golint
    62    - nosnakecase

View as plain text