Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-377 Adopt StyleCop for REEF.NET
  3. REEF-1057

Enable StyleCop.CSharp.NamingRules and fix violations

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • REEF.NET
    • None

    Description

      I suggest we adopt all rules, except SA1305 FieldNamesMustNotUseHungarianNotation, which doesn't have a lot of violations but complains about names like d2.

      There are under 1100 violations of the rest of the rules, a small portion of them in autogenerated from Avro files which need to be excluded from StyleCop checks. The major offender (responsible for 874 of all violations) is SA1309 FieldNamesMustNotBeginWithUnderscore. Are we ok with adopting this rule, or do we consider it part of our style?

      We might have to go through deprecation process for public names which we need to change.

      Attachments

        Activity

          People

            Unassigned Unassigned
            MariiaMykhailova Mariia Mykhailova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: