Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2136

Use StyleCop Analyzers to enforce style rules

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 2.5
    • Build
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: