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

[suggestion] Add cli output json-formatter #254

Open
lucaelin opened this issue May 2, 2022 · 3 comments · May be fixed by #255
Open

[suggestion] Add cli output json-formatter #254

lucaelin opened this issue May 2, 2022 · 3 comments · May be fixed by #255

Comments

@lucaelin
Copy link

lucaelin commented May 2, 2022

In order to improve integration into existing code-quality tools and tracker and ci-products like gitlab or sonar, a preferably eslint-compatible json output for the cli tool would be great.

@justinfagnani
Copy link
Collaborator

I think that the linting functionality of this tool should ultimately be moved to an eslint plugin, which would naturally make this integration possible. @rictic

@lucaelin
Copy link
Author

lucaelin commented May 2, 2022

I agree, but I also think that a machine-readable output format could still be useful and allow for more 3rd-party tooling to easily integrate with lit-analyzer, without depending on eslint.

@lucaelin lucaelin linked a pull request May 2, 2022 that will close this issue
@lucaelin
Copy link
Author

lucaelin commented May 2, 2022

I took the liberty to implement such a formatter, compatible with the codeclimate output. I don't mind this not being merged, because I didn't wait for any "go ahead", but it gave me a change to dig into the codebase and learn something new nonetheless :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants