[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. |