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

Enable StyleCop.CSharp.MaintainabilityRules and fix violations

    XMLWordPrintableJSON

Details

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

    Description

      This issue enables the followings StyleCop.CSharp.MaintainablilityRules and fixing violations.

      • CodeAnalysisSuppressionMustHaveJustification
      • DebugAssertMustProvideMessageText
      • DebugFailMustProvideMessageText
      • FileMayOnlyContainASingleNamespace
      • StatementMustNotUseUnnecessaryParenthesis
      • ArithmeticExpressionsMustDeclarePrecedence
      • ConditionalExpressionsMustDeclarePrecedence
      • RemoveDelegateParenthesisWhenPossible
      • AttributeConstructorMustNotUseUnnecessaryParenthesis
      • RemoveUnnecessaryCode

      The following rules are excluded since they does not fit well with current REEF coding style.

      • AccessModifierMustBeDeclared
      • FieldsMustBePrivate
      • FileMayOnlyContainASingleClass

      Attachments

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              anupam128 Anupam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: