Skip to content

Optionally allow for additional "--out-format" support #612

Closed
smartcontractkit/chainlink
#10024
@chainchad

Description

@chainchad

Welcome

  • Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
  • Yes, I've searched similar issues on GitHub and didn't find any.

Your feature request related to a problem? Please describe.

I saw some issues where others were looking for similar functionality. I would like to use this action with SonarQube's GitHub Action, which requires a file uploaded for a lint report.

Describe the solution you'd like.

I understand that golangci-lint can support multiple --out-format's and that this action hardcodes --out-format=github-actions and prevents any additional --out-format args. However, I would like to keep the hardcoded default but then optionally override this prevention to support additional --out-format's so I can generate a file for use with the SonarQube action.

Describe alternatives you've considered.

One alternative would be to just remove the check which prevents any additional args with --out-format.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions