aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test/json/coding-rules-page-should-show-custom-rules/search-custom-rules.json
blob: 0e4184e48a939998fc7e884fd50e649a3f68ccdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "total": 2,
  "p": 1,
  "ps": 10,
  "rules": [
    {
      "key": "squid:Do_not_use_org_h2_util_StringUtils",
      "name": "Do not use org.h2.util.StringUtils",
      "severity": "MAJOR",
      "params": [
        {
          "key": "fromClasses",
          "htmlDesc": "Optional. If this property is not defined, all classes should adhere to this constraint. Ex : *<em>.web.</em>*",
          "type": "STRING",
          "defaultValue": ""
        },
        {
          "key": "toClasses",
          "htmlDesc": "Mandatory. Ex : java.util.Vector, java.util.Hashtable, java.util.Enumeration",
          "type": "STRING",
          "defaultValue": "org.h2.util.StringUtils"
        }
      ]
    },
    {
      "key": "squid:Do_not_use_edu_emory_mathcs_backport_java_util_Collections",
      "name": "Do not use edu.emory.mathcs.backport.java.util.Collections",
      "severity": "MAJOR",
      "params": [
        {
          "key": "fromClasses",
          "htmlDesc": "Optional. If this property is not defined, all classes should adhere to this constraint. Ex : *<em>.web.</em>*",
          "type": "STRING",
          "defaultValue": ""
        },
        {
          "key": "toClasses",
          "htmlDesc": "Mandatory. Ex : java.util.Vector, java.util.Hashtable, java.util.Enumeration",
          "type": "STRING",
          "defaultValue": "edu.emory.mathcs.backport.java.util.Collections"
        }
      ]
    }
  ]
}