github.com/clubpay/ronykit/kit@v0.14.4-0.20240515065620-d0dace45cbc7/.golangci.yml (about)

     1  run:
     2    tests: false
     3  linters:
     4    enable-all: true
     5    disable:
     6      - wsl
     7      - gomnd
     8      - gochecknoglobals
     9      - paralleltest
    10      - gochecknoinits
    11      - funlen
    12      - godot
    13      - godox
    14      - nonamedreturns
    15      - testpackage
    16      - tagliatelle
    17      - scopelint
    18      - exhaustivestruct
    19      - exhaustruct
    20      - maligned
    21      - wrapcheck
    22      - varnamelen
    23      - ireturn
    24      - varcheck
    25      - nosnakecase
    26      - interfacer
    27      - golint
    28      - ifshort
    29      - deadcode
    30      - structcheck
    31      - depguard
    32      - tagalign
    33    fast: true
    34  linters-settings:
    35    errcheck:
    36      # Report about not checking of errors in type assertions: `a := b.(MyStruct)`.
    37      # Such cases aren't reported by default.
    38      # Default: false
    39      check-type-assertions: true
    40      # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`.
    41      # Such cases aren't reported by default.
    42      # Default: false
    43      check-blank: true
    44    cyclop:
    45      max-complexity: 15
    46