github.com/hupe1980/go-huggingface@v0.0.15/.golangci.yml (about)

     1  linters-settings:
     2    errcheck:
     3      check-type-assertions: true
     4    goconst:
     5      min-len: 2
     6      min-occurrences: 3
     7    gocritic:
     8      enabled-tags:
     9        - diagnostic
    10        - experimental
    11        - opinionated
    12        - performance
    13        - style
    14    govet:
    15      check-shadowing: true
    16    nolintlint:
    17      require-explanation: true
    18      require-specific: true
    19  
    20  linters:
    21    disable-all: true
    22    enable:
    23      - bodyclose
    24      #- depguard
    25      - dogsled
    26      #- dupl
    27      - errcheck
    28      - exportloopref
    29      - exhaustive
    30      #- goconst TODO
    31      - gofmt
    32      - goimports
    33      #- gomnd
    34      - gocyclo
    35      - gosec
    36      - gosimple
    37      - govet
    38      - ineffassign
    39      - misspell
    40      #- nolintlint
    41      - nakedret
    42      - prealloc
    43      - predeclared
    44      #- revive TODO
    45      - staticcheck
    46      - stylecheck
    47      - thelper
    48      - tparallel
    49      - typecheck
    50      - unconvert
    51      - unparam
    52      - unused
    53      - whitespace
    54      - wsl
    55  
    56  run:
    57    issues-exit-code: 1