Skip to content

Generate html report #436

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
dharmjit opened this issue Mar 14, 2019 · 7 comments · Fixed by #2043
Closed

Generate html report #436

dharmjit opened this issue Mar 14, 2019 · 7 comments · Fixed by #2043
Labels
enhancement New feature or improvement

Comments

@dharmjit
Copy link

Hi, Is there a way to generate html report after running golangci-lint. I am trying to make it work with gitlab and show the output on gitlab pages.

Thanks in advance.

@jirfag
Copy link
Contributor

jirfag commented Apr 20, 2019

Hi!
Sorry, It's not planned. Can you use goreportcard?

@dharmjit
Copy link
Author

Hi, Its an internal project and hosted on gitlab. goreportcard can't be used as of now. I was thinking of some html formats supported by golangci-lint. Any other options available.
Thanks

@Jackmrzhou
Copy link

Same here! Our group would be willing use this project if generating html is supported, but we have to use another linter which supports generating html currently.

@tpounds tpounds added enhancement New feature or improvement help wanted Issue that needs help from a contributor labels Oct 3, 2019
@jirfag
Copy link
Contributor

jirfag commented Oct 14, 2019

pull requests are welcome :)

@stale
Copy link

stale bot commented Apr 11, 2020

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.

@stale stale bot added the stale No recent correspondence or work activity label Apr 11, 2020
@stale stale bot closed this as completed May 11, 2020
@schaudhary111
Copy link

Hi, any update on this enhancement. We need to publish lint results as html report and it will be great if this project provides formatting option for html.
Thanks

@SVilgelm
Copy link
Member

As a workaround, you can use junit-xml output: golangci-lint run --out-format junit-xml ./...
and then convert it to html

or feel free to create a pull request with necessary changes

@ldez ldez reopened this Jun 7, 2021
@ldez ldez removed the stale No recent correspondence or work activity label Jun 7, 2021
@ldez ldez closed this as completed in #2043 Jun 7, 2021
@ldez ldez removed the help wanted Issue that needs help from a contributor label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants