github.com/bytedance/mockey@v1.2.10/.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    skip-files:
     6      - ".*\\.mock\\.go$"
     7  # output configuration options
     8  output:
     9    # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
    10    format: colored-line-number
    11  # All available settings of specific linters.
    12  # Refer to https://golangci-lint.run/usage/linters
    13  linters-settings:
    14    gofumpt:
    15      # Choose whether to use the extra rules.
    16      # Default: false
    17      extra-rules: true
    18    govet:
    19      # Disable analyzers by name.
    20      # Run `go tool vet help` to see all analyzers.
    21      disable:
    22        - stdmethods
    23  linters:
    24    enable:
    25      - gofumpt
    26      - gofmt
    27    disable:
    28      - errcheck
    29      - typecheck
    30      - deadcode
    31      - varcheck
    32      - staticcheck
    33  issues:
    34    exclude-use-default: true