Skip to content
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

feat: multiple output files-formats for different analyze tools #2504

Closed
090809 opened this issue Jan 20, 2022 · 3 comments
Closed

feat: multiple output files-formats for different analyze tools #2504

090809 opened this issue Jan 20, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@090809
Copy link

090809 commented Jan 20, 2022

Your feature request related to a problem? Please describe.

We are using different linter tools to visualize and control code quality, and we need to run linter multiple times for different linter output formats.

Describe the solution you'd like.

Some flag, like --output format:/path/to/file which can be used multiple times.

Describe alternatives you've considered.

Idk alternative ways how to realize this feature.

Additional context.

No response

@090809 090809 added the enhancement New feature or improvement label Jan 20, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Jan 20, 2022

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

@090809
Copy link
Author

090809 commented Jan 20, 2022

UPD: Find that it already done. Maybe need to update documentation (help reference) for it?

formats := strings.Split(e.cfg.Output.Format, ",")

@ldez
Copy link
Member

ldez commented Jan 20, 2022

The doc is already up to date. https://golangci-lint.run/usage/configuration/#output-configuration
I will be available in the next version (v1.44.0)

Duplicate of #481, fixed in #2386

@ldez ldez closed this as completed Jan 20, 2022
@ldez ldez added duplicate This issue or pull request already exists and removed enhancement New feature or improvement labels Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants