github.com/projecteru2/core@v0.0.0-20240321043226-06bcc1c23f58/.golangci.yml (about)

     1  run:
     2    timeout: 5m
     3    tests: false
     4    skip-dirs:
     5      - vendor
     6      - tools
     7      - 3rdmocks
     8    modules-download-mode: readonly
     9    go: 1.20
    10  
    11  linters-settings:
    12    maligned:
    13      suggest-new: true
    14    gocritic:
    15      disabled-checks:
    16        - captLocal
    17  
    18  linters:
    19    disable-all: true
    20    enable:
    21      - bodyclose
    22      # - depguard
    23      - dogsled
    24      - gochecknoinits
    25      - goconst
    26      - gocyclo
    27      - gofmt
    28      - goimports
    29      - revive
    30      - goprintffuncname
    31      - gosec
    32      - gosimple
    33      - govet
    34      - ineffassign
    35      - misspell
    36      - nakedret
    37      - rowserrcheck
    38      - exportloopref
    39      - staticcheck
    40      - typecheck
    41      - unconvert
    42      - unparam
    43      - unused
    44      - asciicheck
    45      - nestif
    46      - errcheck
    47      - gocritic
    48        #Consider this
    49        # - godox
    50        # - funlen
    51        # - lll
    52        # - gochecknoglobals
    53        # don't enable:
    54        # - whitespace
    55        # - goerr113
    56        # - godot
    57        # - maligned
    58        # - prealloc
    59        # - testpackage
    60        # - wsl
    61        # - sylecheck