GitHub / golangci/golangci-lint issues and pull requests
Labelled with: question
#6107 - Can't use on go1.25 via pre-commit
Issue -
State: closed - Opened by heitorPB about 2 months ago
- 2 comments
Labels: question
#6092 - can't lint go.mod file unless there are other go source files in the same directory
Issue -
State: closed - Opened by GrantFleming 2 months ago
- 2 comments
Labels: question
#6027 - Documentation about the config file order priority is incorrect
Issue -
State: closed - Opened by utku-sezzle 3 months ago
- 4 comments
Labels: question
#6020 - vscode integration `--fast-only` not work
Issue -
State: closed - Opened by Chindada 3 months ago
- 2 comments
Labels: question
#5985 - testifylint: check to recommend Equal rather EqualValues fails early
Issue -
State: closed - Opened by fredbi 4 months ago
- 1 comment
Labels: question
#5961 - Support reproducible builds when using module plugin system
Issue -
State: closed - Opened by pimlie 4 months ago
- 2 comments
Labels: question, linter: custom
#5942 - invalid third argument to the var-naming rule
Issue -
State: closed - Opened by huskar-t 4 months ago
- 2 comments
Labels: question
#5907 - Strange behaviour of gofumpt
Issue -
State: closed - Opened by manuelarte 5 months ago
- 2 comments
Labels: question
#5874 - Version missing reported after golagci-lint upgrade
Issue -
State: closed - Opened by abbas-dependable-naqvi 6 months ago
- 2 comments
Labels: question
#5871 - v2 File Cache stats are always 0
Issue -
State: closed - Opened by leungster 6 months ago
- 2 comments
Labels: question
#5862 - skip-dirs doesn't seem to work
Issue -
State: closed - Opened by jzillmann 6 months ago
- 2 comments
Labels: question
#5830 - Govet changes are skipped due to conflicting edits
Issue -
State: closed - Opened by jmreicha 6 months ago
- 3 comments
Labels: question
#5816 - Discrepancy in `version` output
Issue -
State: closed - Opened by mstoykov 6 months ago
- 2 comments
Labels: question
#5797 - The paths-except in the exclusions in Linters configuration are not effective
Issue -
State: closed - Opened by 0daoge0 7 months ago
- 2 comments
Labels: question
#5789 - Documentation on pkg.go.dev
Issue -
State: closed - Opened by OmBiradar 7 months ago
- 2 comments
Labels: question, area: docs
#5773 - GCI linter miss in the website
Issue -
State: closed - Opened by daixiang0 7 months ago
- 1 comment
Labels: question, area: docs
#5760 - lint failing with errors that do no exist
Issue -
State: closed - Opened by Kshitij-Katiyar 7 months ago
- 2 comments
Labels: question
#5748 - [staticcheck,SA5011] false positive with testing common.Errorf(…)
Issue -
State: closed - Opened by PlusMinus0 7 months ago
- 2 comments
Labels: question
#5747 - revive: overriding one linter rule disables other rules
Issue -
State: closed - Opened by kkettinger 7 months ago
- 2 comments
Labels: question
#5725 - Site broken - "Not loading react" "ChunkLoadError 499".
Issue -
State: closed - Opened by cpuccino 8 months ago
- 1 comment
Labels: duplicate, question, area: docs
#5701 - disable single rule from staticcheck
Issue -
State: closed - Opened by trim21 8 months ago
- 2 comments
Labels: question
#5700 - relative-path-mode: cfg produces incorrect path in output.
Issue -
State: closed - Opened by IlyasYOY 8 months ago
- 2 comments
Labels: question
#5678 - tab printers doesn't work as expected
Issue -
State: closed - Opened by ccoVeille 8 months ago
- 2 comments
Labels: question
#5666 - errcheck maps calls differently to exclude lists in 2.x?
Issue -
State: closed - Opened by xrstf 8 months ago
- 3 comments
Labels: question
#5641 - the Go language version (go1.23) used to build golangci-lint is lower than the targeted Go version (1.24.1)
Issue -
State: closed - Opened by buzzdan 8 months ago
- 2 comments
Labels: question
#5640 - Golangci-lint v2 erroring due to hardcoded flag thats no longer supported in vscode
Issue -
State: closed - Opened by jacobdrury 8 months ago
- 9 comments
Labels: duplicate, question, area: integrations
#5633 - Documentation site is broken with ChunkLoadError
Issue -
State: closed - Opened by omar-infinitusai 8 months ago
- 2 comments
Labels: question, area: docs
#5617 - VS Code integration not working
Issue -
State: closed - Opened by jrodriigues 8 months ago
- 2 comments
Labels: question
#5604 - golangci.jsonschema.json now resolves to v2 schema
Issue -
State: closed - Opened by rittneje 8 months ago
- 1 comment
Labels: question
#5601 - Add an option to `golangci-lint fmt` to check if the code is formatted
Issue -
State: closed - Opened by sorairolake 8 months ago
- 2 comments
Labels: question
#5597 - [v2] Failed executing command with error: can't load config: gofmt is a formatter
Issue -
State: closed - Opened by yurishkuro 8 months ago
- 2 comments
Labels: question
#5488 - unnecessary type arguments infertypeargs
Issue -
State: closed - Opened by jiaopengzi 9 months ago
- 3 comments
Labels: question
#5457 - `golangci-lint` doesn't respect `//exhaustruct:ignore` directive
Issue -
State: closed - Opened by bbkane 9 months ago
- 3 comments
Labels: question
#5444 - `--fix` for `intrange` generates issues with `unconvert`
Issue -
State: closed - Opened by rockdaboot 9 months ago
- 1 comment
Labels: question
#5438 - issues.exclude-dirs not behaving as expected
Issue -
State: closed - Opened by gakesson 9 months ago
- 2 comments
Labels: question
#5428 - failed to load package spdy after upgrading to go 1.24
Issue -
State: closed - Opened by ocofaigh 9 months ago
- 2 comments
Labels: question
#5371 - Snap Error when installing golangci-lint
Issue -
State: closed - Opened by ryancurrah 10 months ago
- 1 comment
Labels: question
#5340 - When building a custom linter, the resulting `custom-gcl` cannot find `canonicalheader`
Issue -
State: closed - Opened by gmlewis 10 months ago
- 3 comments
Labels: question
#5290 - Run only specific linters on new files (similar to `new: true`)
Issue -
State: closed - Opened by qdm12 11 months ago
- 1 comment
Labels: question
#5257 - goimports and gofmt fixes are not applied if typecheck-requiring linter is enabled on broken source files
Issue -
State: closed - Opened by denik 11 months ago
- 2 comments
Labels: question
#5223 - exhaustive check for variables
Issue -
State: closed - Opened by huykingsofm 12 months ago
- 1 comment
Labels: question
#5218 - importas linter is non-deterministic
Issue -
State: closed - Opened by stephanos 12 months ago
- 2 comments
Labels: question
#5191 - Typecheck linter only working despite all others being disabled and a non-typehcek linter specified
Issue -
State: closed - Opened by huornlmj 12 months ago
- 2 comments
Labels: question
#5184 - Running error: can't run linter goanalysis_metalinter
Issue -
State: closed - Opened by QZAiXH 12 months ago
- 2 comments
Labels: question
#5144 - Dump of new version of linter
Issue -
State: closed - Opened by sxd about 1 year ago
- 3 comments
Labels: question
#5142 - Linter sugesting intrange
Issue -
State: closed - Opened by Hugoreal2 about 1 year ago
- 2 comments
Labels: question
#5092 - panic during analysis
Issue -
State: closed - Opened by harrisa1 about 1 year ago
- 6 comments
Labels: question, feedback required
#5084 - After the Mac is installed locally, the scanning results are inconsistent with those obtained by running commands from official images
Issue -
State: closed - Opened by fjzcxs about 1 year ago
- 3 comments
Labels: question, feedback required
#5080 - Linter does not run on files that are excluded from build by go tags
Issue -
State: closed - Opened by gucio321 about 1 year ago
- 1 comment
Labels: question
#5072 - issues.exclude-dirs Not skipping directory
Issue -
State: closed - Opened by carringtonk about 1 year ago
- 4 comments
Labels: question
#5069 - Version string different between go install and using the install.sh script
Issue -
State: closed - Opened by systay about 1 year ago
- 2 comments
Labels: question
#5064 - Support ignoring test files and other directories for `gosec` linter
Issue -
State: closed - Opened by HydroH about 1 year ago
- 2 comments
Labels: question
#5044 - Linter does not run on examples/
Issue -
State: closed - Opened by gucio321 about 1 year ago
- 1 comment
Labels: question
#5042 - golangci-lint shows "killed" immediately
Issue -
State: closed - Opened by tzookb about 1 year ago
- 3 comments
Labels: question
#5037 - Can't run linter goanalysis_metalinter: buildir: failed to load package gl
Issue -
State: closed - Opened by bon-ami about 1 year ago
- 2 comments
Labels: question
#5032 - the Go language version (go1.22) used to build golangci-lint is lower than the targeted Go version (1.23.1)
Issue -
State: closed - Opened by rach-id about 1 year ago
- 2 comments
Labels: question
#5030 - Possible memory leak on macOS running in Docker
Issue -
State: closed - Opened by feketegy about 1 year ago
- 9 comments
Labels: question, platform: macos
#5015 - `exclude-dirs` not working
Issue -
State: closed - Opened by nekohasekai about 1 year ago
- 1 comment
Labels: question
#5012 - nearly 30gb memory usage on mac ios
Issue -
State: closed - Opened by kurupgokul-mable about 1 year ago
- 2 comments
Labels: question
#5010 - golangci-lint go list seemingly recompiles go-sqlite3 everytime an lsp is connected
Issue -
State: closed - Opened by hjkatz about 1 year ago
- 13 comments
Labels: question, feedback required
#4969 - unused linter does not detect unused exported fields
Issue -
State: closed - Opened by mcastorina about 1 year ago
- 2 comments
Labels: question
#4962 - failed to load opentracing-go
Issue -
State: closed - Opened by benni347 about 1 year ago
- 2 comments
Labels: question
#4956 - typecheck doesn't seem to recognise go:wasmimport directives
Issue -
State: closed - Opened by mattjohnsonpint over 1 year ago
- 9 comments
Labels: question, platform: wasip1/wasm
#4950 - v1.60.1+ on Go 1.23 No Longer Excludes Config of `main redeclared in this block`
Issue -
State: closed - Opened by Justintime50 over 1 year ago
- 2 comments
Labels: question
#4935 - v1.60.2 reports integer overflow conversion int -> int32 for conversion like int32(group) with group is an int
Issue -
State: closed - Opened by houshengbo over 1 year ago
- 2 comments
Labels: question
#4933 - When running the linter, my PC crashes or the linter dies
Issue -
State: closed - Opened by PatricioPoncini over 1 year ago
- 6 comments
Labels: duplicate, question
#4932 - staticcheck uses too much memory and crashes
Issue -
State: closed - Opened by tang-fh over 1 year ago
- 3 comments
Labels: duplicate, question
#4928 - Version the config schemas so that users can specify version in their config file for automatic IDE schema validations
Issue -
State: closed - Opened by dakojohn over 1 year ago
- 2 comments
Labels: question, area: JSON schema
#4914 - Typecheck errors are reported for ignored directories
Issue -
State: closed - Opened by bewuethr over 1 year ago
- 2 comments
Labels: question
#4912 - Upgrading to go1.23.0 and failed in CI for goanalysis_metalinter
Issue -
State: closed - Opened by sysulq over 1 year ago
- 2 comments
Labels: question, feedback required
#4908 - gosimple + go 1.23 consume all available RAM
Issue -
State: closed - Opened by olegrok over 1 year ago
- 3 comments
Labels: question
#4905 - golangci-lint 1.60.1 incorrectly reports `SA3000: TestMain should call os.Exit`
Issue -
State: open - Opened by skaji over 1 year ago
- 2 comments
Labels: question
#4874 - Excessive memory usage with go1.23rc2 using version 1.57.2
Issue -
State: closed - Opened by ncw over 1 year ago
- 1 comment
Labels: question
#4835 - Branch analysis not working when default severity is mentioned
Issue -
State: closed - Opened by Vishal1297 over 1 year ago
- 2 comments
Labels: question
#4793 - shift: package "util": invalid memory address or nil pointer dereference
Issue -
State: closed - Opened by longhopefor over 1 year ago
- 2 comments
Labels: question
#4741 - WARN The linter 'gomnd' is deprecated (since v1.58.0) due to: The linter has been renamed. Replaced by mnd.
Issue -
State: closed - Opened by ldemailly over 1 year ago
- 3 comments
Labels: question
#4721 - Support go.work file
Issue -
State: closed - Opened by didrocks over 1 year ago
- 5 comments
Labels: question
#4704 - with directive go 1.22.3 in go.mod docker golangci-lint failed
Issue -
State: closed - Opened by jerome-laforge over 1 year ago
- 1 comment
Labels: question, area: docker
#4691 - typecheck: lacks support of import path with version suffix (gopkg.in/yaml.v3)
Issue -
State: closed - Opened by dolmen over 1 year ago
- 2 comments
Labels: question
#4659 - linters_context generating typechecking error about malformed import path for files and folders in issues.exclude-dirs
Issue -
State: closed - Opened by MistaTwista over 1 year ago
- 5 comments
Labels: question
#4651 - New errors when upgrading bumping google.golang.org/protobuf from 1.31.0 to 1.33.0 in argo workflow related code
Issue -
State: closed - Opened by mckornfield over 1 year ago
- 2 comments
Labels: question
#4630 - goanalysis_metalinter: failed to load package main: could not load export data
Issue -
State: closed - Opened by nchepanov-plaid over 1 year ago
- 2 comments
Labels: question
#4627 - Range-Over-Function is not supported
Issue -
State: closed - Opened by CuteReimu over 1 year ago
- 2 comments
Labels: question
#4604 - Doesn't work with the --fast flag
Issue -
State: closed - Opened by kyriakid1s over 1 year ago
- 2 comments
Labels: question
#4593 - json-schema: missing some properties
Issue -
State: closed - Opened by nikpivkin over 1 year ago
- 2 comments
Labels: question
#4476 - Ignores GOMAXPROCS environment variable
Issue -
State: closed - Opened by e-compton-bb over 1 year ago
- 2 comments
Labels: question
#4458 - Incorrect information about gocritic disabled/enabled-checks being mutually exclusive?
Issue -
State: closed - Opened by scop over 1 year ago
- 2 comments
Labels: question
#4433 - Error Shadowing in StartTransfer Function and Handling Multiple Errors
Issue -
State: closed - Opened by cubxxw over 1 year ago
- 2 comments
Labels: question, feedback required
#4421 - gocritic: invalid ruleguard rules do not cause a warning or error
Issue -
State: closed - Opened by autarch over 1 year ago
- 8 comments
Labels: question, dependencies
#4384 - nolint directive removal leaves whitespace behind
Issue -
State: closed - Opened by scop almost 2 years ago
- 1 comment
Labels: question
#4375 - --new-from-rev main doesn't work
Issue -
State: closed - Opened by facchettos almost 2 years ago
- 2 comments
Labels: question
#4361 - Running v1.56.0 version throws panics, v1.55.2 works fine
Issue -
State: closed - Opened by maksim-paskal almost 2 years ago
- 4 comments
Labels: question
#4347 - gci won't parse "alias" option
Issue -
State: closed - Opened by hahuang65 almost 2 years ago
- 2 comments
Labels: question, dependencies
#4321 - revive dot-imports allowedPackages config not recognized
Issue -
State: closed - Opened by StephenBrown2 almost 2 years ago
- 2 comments
Labels: question
#4311 - golangci-lint install fails version above 1.50.0
Issue -
State: closed - Opened by kart2 almost 2 years ago
- 2 comments
Labels: question
#4300 - gosimple suggests to remove comments from if()s that are specifically written to make a comment stand out
Issue -
State: closed - Opened by alexander-hirth almost 2 years ago
- 1 comment
Labels: question, dependencies
#4252 - typecheck: X imported but not used although it's used
Issue -
State: closed - Opened by mojixcoder almost 2 years ago
- 3 comments
Labels: question
#4229 - Github action fails to find issues which a manual run inside the action finds
Issue -
State: closed - Opened by veqryn almost 2 years ago
- 1 comment
Labels: question
#4220 - Cache not lowering lint time in ci/cd
Issue -
State: closed - Opened by asaid997 almost 2 years ago
- 1 comment
Labels: question
#4217 - golangci-lint is slow for projects with many files.
Issue -
State: closed - Opened by sbadame about 2 years ago
- 2 comments
Labels: question