Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-229

[Scala] Enable Rule: S131 "match" statements should have "case _" clauses

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scala
    • Labels:
      None

      Description

      This rule require semantic to not raise issues on exhaustive match like with Optional:
      scala/cats/core/src/main/scala/cats/ApplicativeError.scala:191

      Otherwise, the rule raises 2830 issues. See branch SONARSLANG-229

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alban.auzeill Alban Auzeill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: