github.com/maypok86/otter@v1.2.1/.golangci.yml (about)

     1  run:
     2    concurrency: 8
     3    timeout: 5m
     4    build-tags:
     5      - integration
     6    modules-download-mode: readonly
     7    go: '1.17'
     8  output:
     9    format: tab:lint.txt
    10    print-issued-lines: false
    11    uniq-by-line: false
    12    sort-results: true
    13  linters:
    14    enable:
    15      - asasalint
    16      - asciicheck
    17      - bidichk
    18      - bodyclose
    19      - contextcheck
    20      - durationcheck
    21      - errcheck
    22      - errname
    23      - errorlint
    24      - exportloopref
    25      - gocheckcompilerdirectives
    26      - gocritic
    27      - godot
    28      - gofumpt
    29      - gci
    30      - gomoddirectives
    31      - gosec
    32      - gosimple
    33      - govet
    34      - ineffassign
    35      - interfacer
    36      - misspell
    37      - nakedret
    38      - nilerr
    39      - nilnil
    40      - noctx
    41      - nolintlint
    42      - prealloc
    43      - predeclared
    44      - promlinter
    45      - reassign
    46      - revive
    47      - rowserrcheck
    48      - sqlclosecheck
    49      - staticcheck
    50      - stylecheck
    51      - tagliatelle
    52      - tenv
    53      - testableexamples
    54      - thelper
    55      - tparallel
    56      - unconvert
    57      - unparam
    58      - usestdlibvars
    59      - wastedassign
    60    disable:
    61      - unused
    62  issues:
    63    max-issues-per-linter: 0
    64    max-same-issues: 0
    65    exclude-rules:
    66      - path: _test\.go
    67        linters:
    68          - gosec
    69  linters-settings:
    70    gci:
    71      sections:
    72        - standard # Standard lib
    73        - default # External dependencies
    74        - prefix(github.com/maypok86/otter) # Internal packages
    75    gocritic:
    76      enabled-tags:
    77        - diagnostic
    78        - experimental
    79        - opinionated
    80        - performance
    81        - style
    82      disabled-checks:
    83        - hugeParam
    84        - rangeExprCopy
    85        - rangeValCopy
    86    errcheck:
    87      check-type-assertions: true
    88      check-blank: true
    89      exclude-functions:
    90        - io/ioutil.ReadFile
    91        - io.Copy(*bytes.Buffer)
    92        - io.Copy(os.Stdout)
    93    nakedret:
    94      max-func-lines: 1
    95    revive:
    96      rules:
    97        - name: empty-block
    98          disabled: true
    99    tagliatelle:
   100      case:
   101        rules:
   102          json: snake
   103          yaml: snake