SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-3202

Utilize new inspectcode "dumpIssueTypes" flag to populate rules

    Details

    • Number of attachments :
      0

      Description

      JetBrains has added a /dumpIssueTypes flag to the inspectcode.exe arguments list, which will output the list of possible IssueTypes. This should be used to pre-populate the DefaultRules.ReSharper file.

      See http://youtrack.jetbrains.com/issue/RSRP-383897

        Activity

        Show
        John Wright added a comment - https://github.com/SonarCommunity/sonar-dotnet-resharper/commit/60f0f32544e731e87405fa2cde9766b41acad72b
        Hide
        John Wright added a comment -

        Found data quality issues, which are preventing the rules from being imported.

        Show
        John Wright added a comment - Found data quality issues, which are preventing the rules from being imported.
        Hide
        John Wright added a comment -

        There are some data issues with the output of /dumpIssuesTypes which need to be worked around:

        inspectcode /dumpIssuesTypes includes duplicate entries for "StructuralSearch":
        http://youtrack.jetbrains.com/issue/RSRP-390380

        IssueType "InvocationIsSkipped" has undocumented "INFO" severity
        http://youtrack.jetbrains.com/issue/RSRP-390375

        Show
        John Wright added a comment - There are some data issues with the output of /dumpIssuesTypes which need to be worked around: inspectcode /dumpIssuesTypes includes duplicate entries for "StructuralSearch": http://youtrack.jetbrains.com/issue/RSRP-390380 IssueType "InvocationIsSkipped" has undocumented "INFO" severity http://youtrack.jetbrains.com/issue/RSRP-390375
        Show
        John Wright added a comment - https://github.com/SonarCommunity/sonar-dotnet-resharper/commit/ea9ee33c78b26b638fbfffcf56d6e4c24f0d8642

          People

          • Assignee:
            John Wright
            Reporter:
            John Wright
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: