gitlab.com/aquachain/aquachain@v1.17.16-rc3.0.20221018032414-e3ddf1e1c055/.golangci.yml (about)

     1  run:
     2    deadline: 5m
     3    tests: false
     4    skip-dirs:
     5      - vendor$
     6      - build$
     7      - testing$
     8      - p2p/simulations$
     9      - p2p/testing$
    10  output:
    11    print-issued-lines: true
    12    print-linter-name: true
    13  linters-settings:
    14    errcheck:
    15      check-type-assertions: false
    16      check-blank: false
    17    govet:
    18      check-shadowing: true
    19    golint:
    20      min-confidence: 0.8
    21    gofmt:
    22      simplify: true
    23    goimports:
    24      local-prefixes: gitlab.com/aquachain/aquachain
    25    gocyclo:
    26      min-complexity: 10
    27    maligned:
    28      suggest-new: true
    29    dupl:
    30      threshold: 100
    31    goconst:
    32      min-len: 3
    33      min-occurrences: 3
    34    depguard:
    35      list-type: blacklist
    36      include-go-root: false
    37      packages:
    38        - github.com/davecgh/go-spew/spew
    39    misspell:
    40      locale: US
    41      ignore-words:
    42        - aquachain
    43        - Aquachain
    44    lll:
    45      line-length: 120
    46      tab-width: 1
    47    unused:
    48      check-exported: false
    49    unparam:
    50      check-exported: false
    51    nakedret:
    52      max-func-lines: 30
    53    prealloc:
    54      simple: true
    55  linters:
    56    enable:
    57      - gosec
    58      - megacheck
    59      - govet
    60      - deadcode
    61    enable-all: false
    62    disable:
    63      - maligned
    64      - prealloc
    65    disable-all: false
    66    presets:
    67      - bugs
    68      - unused
    69    fast: false
    70  
    71