microsoft / sarif-sdk

.NET code and supporting files for working with the 'Static Analysis Results Interchange Format' (SARIF, see https://github.com/oasis-tcs/sarif-spec)
Other
192 stars 90 forks source link

Update code to use 'var' where type is explicit. #2817

Closed michaelcfanning closed 1 month ago

michaelcfanning commented 1 month ago

No behavioral changes, hence no release notes.

This change also disables automated SARIF object model generation: this code is stable and the autogenerator emit doesn't conform currently to our style guidelines. To enforce them we therefore need to check in and update a stable copy.

Finally, we now enforce strict adherence to the guidelines by elevating problems to errors via CLI build.