github.com/MetalBlockchain/subnet-evm@v0.6.3/.golangci.yml (about)

     1  # This file configures github.com/golangci/golangci-lint.
     2  
     3  run:
     4    timeout: 10m
     5    tests: true
     6    # default is true. Enables skipping of directories:
     7    #   vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
     8    skip-dirs-use-default: true
     9    skip-files:
    10      - core/genesis_alloc.go
    11  
    12  linters:
    13    disable-all: true
    14    enable:
    15      - goconst
    16      - goimports
    17      - gosimple
    18      - govet
    19      - ineffassign
    20      - misspell
    21      - unconvert
    22      - unused
    23      - whitespace
    24  
    25  linters-settings:
    26    gofmt:
    27      simplify: true
    28    goconst:
    29      min-len: 3 # minimum length of string constant
    30      min-occurrences: 6 # minimum number of occurrences