github.com/cloudwego/kitex@v0.9.0/.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-dirs: 6 - kitex_gen 7 skip-files: 8 - ".*\\.mock\\.go$" 9 # output configuration options 10 output: 11 # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions 12 format: colored-line-number 13 # All available settings of specific linters. 14 # Refer to https://golangci-lint.run/usage/linters 15 linters-settings: 16 gofumpt: 17 # Choose whether to use the extra rules. 18 # Default: false 19 extra-rules: true 20 goimports: 21 # Put imports beginning with prefix after 3rd-party packages. 22 # It's a comma-separated list of prefixes. 23 local-prefixes: github.com/cloudwego/kitex 24 govet: 25 # Disable analyzers by name. 26 # Run `go tool vet help` to see all analyzers. 27 disable: 28 - stdmethods 29 linters: 30 enable: 31 - gofumpt 32 - goimports 33 - gofmt 34 disable: 35 - errcheck 36 - typecheck 37 - deadcode 38 - varcheck 39 - staticcheck 40 issues: 41 exclude-use-default: true