git.gammaspectra.live/P2Pool/go-json@v0.99.0/.golangci.yml (about)

     1  run:
     2    skip-files:
     3      - encode_optype.go
     4      - ".*_test\\.go$"
     5  
     6  linters-settings:
     7    govet:
     8      enable-all: true
     9      disable:
    10        - shadow
    11  
    12  linters:
    13    enable-all: true
    14    disable:
    15      - dogsled
    16      - dupl
    17      - exhaustive
    18      - exhaustivestruct
    19      - errorlint
    20      - forbidigo
    21      - funlen
    22      - gci
    23      - gochecknoglobals
    24      - gochecknoinits
    25      - gocognit
    26      - gocritic
    27      - gocyclo
    28      - godot
    29      - godox
    30      - goerr113
    31      - gofumpt
    32      - gomnd
    33      - gosec
    34      - ifshort
    35      - lll
    36      - makezero
    37      - nakedret
    38      - nestif
    39      - nlreturn
    40      - paralleltest
    41      - testpackage
    42      - thelper
    43      - wrapcheck
    44      - interfacer
    45      - lll
    46      - nakedret
    47      - nestif
    48      - nlreturn
    49      - testpackage
    50      - wsl
    51      - varnamelen
    52      - nilnil
    53      - ireturn
    54      - govet
    55      - forcetypeassert
    56      - cyclop
    57      - containedctx
    58      - revive
    59      - nosnakecase
    60      - exhaustruct
    61      - depguard
    62  
    63  issues:
    64    exclude-rules:
    65      # not needed
    66      - path: /*.go
    67        text: "ST1003: should not use underscores in package names"
    68        linters:
    69          - stylecheck
    70      - path: /*.go
    71        text: "don't use an underscore in package name"
    72        linters:
    73          - golint
    74      - path: rtype.go
    75        linters:
    76          - golint
    77          - stylecheck
    78      - path: error.go
    79        linters:
    80          - staticcheck
    81  
    82    # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
    83    max-issues-per-linter: 0
    84  
    85    # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
    86    max-same-issues: 0