[CSHARP-2136] Use StyleCop Analyzers to enforce style rules Created: 29/Dec/17  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Build
Affects Version/s: 2.5
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Use:

https://github.com/DotNetAnalyzers/StyleCopAnalyzers

To enforce style rules at compile time.

An initial test on the MongoDB.Bson project resulted in over 10,000 errors, but many of them would be resolved by configuring the rules slightly differently and the rest by trivial code changes.


Generated at Wed Feb 07 21:41:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.