Skip to content

After the Mac is installed locally, the scanning results are inconsistent with those obtained by running commands from official images #5084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
6 of 7 tasks
fjzcxs opened this issue Oct 24, 2024 · 3 comments
Labels
feedback required Requires additional feedback question Further information is requested

Comments

@fjzcxs
Copy link

fjzcxs commented Oct 24, 2024

Welcome

  • Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've read the typecheck section of the FAQ.
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
  • I agree to follow this project's Code of Conduct

Description of the problem

After the Mac is installed locally, the scanning results are inconsistent with those obtained by running commands from official images, And for both I am using the latest version 1.61.0.
After installing the scan with mac local brew, I think it contains the correct scan results, and the plugin contains errcheck, gosimple, govet, etc., which are turned on by default6, but the result rules of scanning after using the official image in the local docker run only contain typecheck, why do you scan the same project but have different results

Version of golangci-lint

$ golangci-lint --version
# 1.61.0

Configuration

# paste configuration file or CLI flags here

Go environment

$ go version && go env
# go1.21.5

Verbose output of running

none

A minimal reproducible example or link to a public repository

// add your code here
none

Validation

  • Yes, I've included all information above (version, config, etc.).

Supporter

@fjzcxs fjzcxs added the bug Something isn't working label Oct 24, 2024
Copy link

boring-cyborg bot commented Oct 24, 2024

Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.

@ldez ldez added question Further information is requested and removed bug Something isn't working labels Oct 24, 2024
@ldez
Copy link
Member

ldez commented Oct 24, 2024

Hello,

To be able to process your issue as quickly as possible,
can you edit your issue to add missing elements, fix the invalid elements, and complete the sections?

Section Status
Welcome 🟠
Description of the problem 🟢
Version of golangci-lint 🟠
Configuration 🔴
Go environment 🟠
Verbose output of running 🔴
A minimal reproducible example or link to a public repository 🔴
Validation 🔴
Supporter 🟢

Legend:

  • 🟢: The section is complete and valid.
  • 🟠: The section is incomplete.
  • 🔴: The section is missing or invalid.

@ldez ldez added the feedback required Requires additional feedback label Oct 24, 2024
@golangci golangci deleted a comment Oct 25, 2024
@ldez
Copy link
Member

ldez commented Oct 27, 2024

The issue has not been edited to add missing information, so I closed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback required Requires additional feedback question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants