[Request] Provide report mechanism for code fixes
Hello, As I mentioned in Twitter you did great with this library. Your idea is very useful for automation system scenarios.
What I am asking for is to provide a mechanism to get a report in which we could observe what kind of code fixes have been applied and on which part of codes. This is good if we can bind it with source controllers and detect which developer has the most code fixes.
Consider the following scenario, As a project manager my team consists of various developers, ranging from juniors to seniors, and regarding performance matters we have set rules to prohibit the use of some features for instance to use for rather than foreach or linq. That being said, we can use your library with the following AutoFix rule <AutoFix Include="SA1208" /> within the build process.
Such reports not only will help us to detect wich kind of mistakes are common in our team, also which developers are adhering to rules and which one require more education.
Report Sample:
UserName/Git Account; Diagnostic code; Datetime
Hamed; SA1208; Saturday 1 March 2019 07:38:05 UTC => or more human friendly: 1 hour ago Hamed; SA1515; Saturday 2 March 2019 07:38:05 UTC
Well, one key thing that this project provides is the ability for the code to be fixed on the dev's machine way before they commit. So the only way this report would be caught on CI is if they didn't even build the code, which wouldn't be very useful.
Reporting it client-side wouldn't be very helpful either, since, who will read those? And adding a mechanism to publish said fixes to some server-side location after applying them is kinda out of scope.
Can you think of a way I could provide this as an extension point somehow? Maybe some targets you can run after and collect this information and report it as you see fit? Is this still useful given it can only be collected client-side as the dev is doing the build?
Thanks!