github.com/cloudwego/hertz@v0.9.3/.golangci.yaml (about)

     1  # Options for analysis running.
     2  run:
     3    # include `vendor` `third_party` `testdata` `examples` `Godeps` `builtin`
     4    skip-dirs-use-default: true
     5  # output configuration options
     6  
     7    # Timeout for analysis, e.g. 30s, 5m.
     8    # Default: 1m
     9    timeout: 30m
    10  
    11  output:
    12    # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
    13    format: colored-line-number
    14  # All available settings of specific linters.
    15  # Refer to https://golangci-lint.run/usage/linters
    16  linters-settings:
    17    govet:
    18      # Disable analyzers by name.
    19      # Run `go tool vet help` to see all analyzers.
    20      disable:
    21        - stdmethods
    22  linters:
    23    enable:
    24      - gofumpt
    25      - goimports
    26      - gofmt
    27      - govet
    28    disable:
    29      - errcheck
    30      - typecheck
    31      - deadcode
    32      - varcheck
    33      - staticcheck
    34  issues:
    35    exclude-use-default: true