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

Enable StyleCop.CSharp.ReadabilityRules and fix violations

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14
    • REEF.NET
    • None

    Description

      I suggest we adopt all rules, except:

      • SA1101: PrefixLocalCallsWithThis and SA1126: PrefixCallsCorrectly which require that we add this. whenever we reference class member. For similar issue in Java we decided against it.
      • SA1115: ParameterMustFollowComma which produces lots of violations which look like false positives (we don't have empty lines in lists of parametes).
      • SA1116: SplitParametersMustStartOnLineAfterDeclaration and SA1117: ParametersMustBeOnSameLineOrSeparateLines which increase code length for methods with multiple short parameters without increasing readability.

      The rest of the rules produce under 200 violations.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: