-
-
Save rekby/537139df82b5e63d4481e2a4e5e2a8c5 to your computer and use it in GitHub Desktop.
nolintall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.49.0 golangci-lint run -v --enable-all type.go | |
level=info msg="[config_reader] Config search paths: [./ /app / /root]" | |
level=info msg="[lintersdb] Active 98 linters: [asasalint asciicheck bidichk bodyclose containedctx contextcheck cyclop deadcode decorder depguard dogsled dupl durationcheck errcheck errchkjson errname errorlint execinquery exhaustive exhaustivestruct exhaustruct exportloopref forbidigo forcetypeassert funlen gci gochecknoglobals gochecknoinits gocognit goconst gocritic gocyclo godot godox goerr113 gofmt gofumpt goheader goimports golint gomnd gomoddirectives gomodguard goprintffuncname gosec gosimple govet grouper ifshort importas ineffassign interfacebloat interfacer ireturn lll logrlint maintidx makezero maligned misspell nakedret nestif nilerr nilnil nlreturn noctx nolintlint nonamedreturns nosnakecase nosprintfhostport paralleltest prealloc predeclared promlinter reassign revive rowserrcheck scopelint sqlclosecheck staticcheck structcheck stylecheck tagliatelle tenv testpackage thelper tparallel typecheck unconvert unparam unused usestdlibvars varcheck varnamelen wastedassign whitespace wrapcheck wsl]" | |
level=info msg="[loader] Go packages loading at mode 575 (deps|name|files|imports|types_sizes|compiled_files|exports_file) took 239.967ms" | |
level=warning msg="[runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused." | |
level=warning msg="[runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused." | |
level=warning msg="[runner] The linter 'ifshort' is deprecated (since v1.48.0) due to: The repository of the linter has been deprecated by the owner. " | |
level=warning msg="[runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive." | |
level=warning msg="[runner] The linter 'nosnakecase' is deprecated (since v1.48.1) due to: The repository of the linter has been deprecated by the owner. Replaced by revive(var-naming)." | |
level=warning msg="[runner] The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'." | |
level=warning msg="[runner] The linter 'exhaustivestruct' is deprecated (since v1.46.0) due to: The owner seems to have abandoned the linter. Replaced by exhaustruct." | |
level=warning msg="[runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused." | |
level=warning msg="[runner] The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. " | |
level=warning msg="[runner] The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref." | |
level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 3.82ms" | |
level=info msg="[linters context] importas settings found, but no aliases listed. List aliases under alias: key." | |
level=info msg="[linters context/goanalysis] analyzers took 445.16ms with top 10 stages: the_only_name: 104.116ms, unparam: 29.501ms, golint: 29.141ms, gci: 27.001ms, goimports: 26.01ms, bidichk: 24.968ms, misspell: 19.53ms, buildir: 13.117ms, tests: 8.959ms, cyclop: 8.599ms" | |
level=warning msg="[linters context] rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649." | |
level=warning msg="[linters context] sqlclosecheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649." | |
level=warning msg="[linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649." | |
level=warning msg="[linters context] wastedassign is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649." | |
level=info msg="[runner] Issues before processing: 8, after processing: 4" | |
level=info msg="[runner] Processors filtering stat (out/in): path_shortener: 4/4, sort_results: 4/4, autogenerated_exclude: 8/8, identifier_marker: 8/8, max_per_file_from_linter: 4/4, max_from_linter: 4/4, source_code: 4/4, nolint: 7/7, uniq_by_line: 4/7, diff: 4/4, cgo: 8/8, filename_unadjuster: 8/8, path_prettifier: 8/8, skip_files: 8/8, skip_dirs: 8/8, exclude: 8/8, exclude-rules: 7/8, max_same_issues: 4/4, severity-rules: 4/4, path_prefixer: 4/4" | |
level=info msg="[runner] processing took 9.832ms with stages: autogenerated_exclude: 2.791ms, source_code: 2.647ms, nolint: 2.521ms, path_prettifier: 633µs, exclude-rules: 600µs, identifier_marker: 180µs, max_from_linter: 68µs, max_per_file_from_linter: 55µs, skip_files: 41µs, cgo: 41µs, path_shortener: 34µs, max_same_issues: 29µs, uniq_by_line: 27µs, severity-rules: 27µs, filename_unadjuster: 24µs, exclude: 24µs, sort_results: 23µs, skip_dirs: 23µs, diff: 22µs, path_prefixer: 22µs" | |
level=info msg="[runner] linters took 625.181ms with stages: goanalysis_metalinter: 613.061ms, wastedassign: 104µs, rowserrcheck: 99µs, structcheck: 68µs, sqlclosecheck: 55µs" | |
level=info msg="File cache stats: 2 entries of total size 2.6KiB" | |
type.go:35:2: return statements should not be cuddled if block has more than two lines (wsl) | |
return 0 | |
^ | |
type.go:23:1: named return "old" with type "bool" found (nonamedreturns) | |
func (x *Bool) Swap(new bool) (old bool) { return atomic.SwapUint32(&x.v, b32(new)) != 0 } | |
^ | |
type.go:26:1: named return "swapped" with type "bool" found (nonamedreturns) | |
func (x *Bool) CompareAndSwap(old, new bool) (swapped bool) { | |
^ | |
type.go:1:1: directive `//nolint:all` is unused (nolintlint) | |
//nolint:all | |
^ | |
level=info msg="Memory: 10 samples, avg is 46.9MB, max is 64.9MB" | |
level=info msg="Execution took 883.638ms" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment