You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Readme says that it is possible to specify directory and file path at the same time but it fails.
Thank you for creating the issue!
Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
Yes, I've searched similar issues on GitHub and didn't find any.
Yes, I've included all information below (version, config, etc).
Please include the following information:
Version of golangci-lint
$ docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.23.1 golangci-lint run --version
# golangci-lint has version 1.23.1 built from 567904e on 2020-01-20T08:00:15Z
Config file
no config file
Go environment
According to Docker image
Verbose output of running
$ docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.23.1 golangci-lint run dir1 dir2/... dir3/file1.go -v`level=info msg="[config_reader] Config search paths: [./ /app/dir1 /app /]"level=info msg="[lintersdb] Active 10 linters: [deadcode errcheck gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck]"level=info msg="[lintersdb] Active 10 linters: [deadcode errcheck gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck]"level=info msg="[loader] Go packages loading at mode 575 (compiled_files|deps|exports_file|files|name|imports|types_sizes) took 25.5212ms"level=error msg="Running error: context loading failed: failed to load program with go/packages: -: named files must be .go files: ./dir1"level=info msg="Memory: 2 samples, avg is 69.2MB, max is 69.2MB"level=info msg="Execution took 33.7025ms"
It seems that combination of directory and file causes problem.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Readme says that it is possible to specify directory and file path at the same time but it fails.
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
Config file
no config file
Go environment
According to Docker image
Verbose output of running
It seems that combination of directory and file causes problem.
The text was updated successfully, but these errors were encountered: