Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

Conversation

@thepwagner
Copy link
Owner

@thepwagner thepwagner commented Sep 18, 2021

Add an empty reference to https://github.com/thepwagner/golangci-lint-yaml , a shareable configuration preset for golangci-lint.

@thepwagner
Copy link
Owner Author

$ golangci-lint run --verbose
INFO [config_reader] Config search paths: [./ /Users/pwagner/git/thepwagner/archivist /Users/pwagner/git/thepwagner /Users/pwagner/git /Users/pwagner /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [config_reader] Read preset module config file /Users/pwagner/go/pkg/mod/github.com/thepwagner/[email protected]/.golangci.yml
INFO [lintersdb] Active 38 linters: [bodyclose deadcode dogsled dupl errcheck errname errorlint exhaustive exportloopref funlen goconst gocritic gocyclo gofmt goimports gomnd goprintffuncname gosec gosimple ifshort ineffassign lll makezero misspell nakedret noctx nolintlint revive staticcheck structcheck stylecheck testpackage typecheck unconvert unparam unused varcheck whitespace]
INFO [loader] Go packages loading at mode 575 (imports|name|files|deps|exports_file|types_sizes|compiled_files) took 370.968781ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 4.480117ms
INFO [linters context/goanalysis] analyzers took 0s with no stages
INFO [runner] Issues before processing: 57, after processing: 0
INFO [runner] Processors filtering stat (out/in): autogenerated_exclude: 40/57, filename_unadjuster: 57/57, skip_files: 57/57, identifier_marker: 40/40, exclude: 40/40, skip_dirs: 57/57, exclude-rules: 0/40, cgo: 57/57, path_prettifier: 57/57
INFO [runner] processing took 2.722402ms with stages: exclude-rules: 792.918µs, path_prettifier: 749.415µs, identifier_marker: 641.595µs, autogenerated_exclude: 498.516µs, skip_dirs: 23.087µs, nolint: 5.836µs, filename_unadjuster: 3.804µs, cgo: 3.482µs, max_same_issues: 1.065µs, uniq_by_line: 371ns, source_code: 368ns, max_from_linter: 310ns, severity-rules: 242ns, exclude: 241ns, max_per_file_from_linter: 239ns, skip_files: 234ns, diff: 216ns, path_shortener: 178ns, sort_results: 162ns, path_prefixer: 123ns
INFO [runner] linters took 108.647582ms with stages: goanalysis_metalinter: 105.848119ms
INFO File cache stats: 0 entries of total size 0B
INFO Memory: 6 samples, avg is 33.7MB, max is 68.8MB
INFO Execution took 497.410212ms

@thepwagner thepwagner closed this Oct 22, 2021
@thepwagner thepwagner deleted the lint-preset branch October 22, 2021 13:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants