Skip to content

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

Closed
@fjzcxs

Description

@fjzcxs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedback requiredRequires additional feedbackquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions