Skip to content

Export scalafix report to a file or expose errors via an API #951

Open
@mwz

Description

@mwz

Would it be possible for scalafix to generate a file report with all the reported errors in e.g. json or xml format or allow scalafix to be run and expose the errors via an API so other tools could make use of that? My specific use case would be to import scalafix errors into SonarQube (a tool for static code analysis) using the sonar-scala plugin, but I'm sure others might also find this feature useful.

I suppose this would only apply to the DisableSyntax rules as the other rules rewrite the source code.

I'd be happy to work on this if we could agree on details about how this should work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions