github.com/creativeprojects/go-selfupdate@v1.2.0/.golangci.yml (about)

     1  linters-settings:
     2    govet:
     3      check-shadowing: true
     4    gocyclo:
     5      min-complexity: 20
     6    dupl:
     7      threshold: 100
     8    goconst:
     9      min-len: 3
    10      min-occurrences: 3
    11    lll:
    12      line-length: 160
    13    nakedret:
    14      max-func-lines: 20
    15    gocritic:
    16      enabled-tags:
    17        - performance
    18        - style
    19        - diagnostic
    20      disabled-checks:
    21        - dupImport # https://github.com/go-critic/go-critic/issues/845
    22      settings:
    23        rangeValCopy:
    24          sizeThreshold: 512
    25        hugeParam:
    26          sizeThreshold: 512
    27  linters:
    28    enable-all: true
    29    disable:
    30      - interfacer
    31      - scopelint
    32      - golint
    33      - maligned
    34      - godot
    35      - gochecknoglobals
    36      - exhaustivestruct
    37      - wsl
    38      - nestif
    39      - goerr113
    40      - nlreturn
    41      - wrapcheck
    42      - misspell
    43      - cyclop
    44      - whitespace
    45      - paralleltest
    46  
    47    fast: false
    48  
    49  run:
    50    tests: true
    51  
    52  issues:
    53    exclude-use-default: true
    54