Skip to content

Commit c7a51f4

Browse files
authored
SONARKT-411 Update rules metadata
1 parent 7a08ec2 commit c7a51f4

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

sonar-kotlin-plugin/sonarpedia.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"languages": [
44
"KOTLIN"
55
],
6-
"latest-update": "2024-11-25T09:36:33.523743Z",
6+
"latest-update": "2024-12-04T17:00:12.870834Z",
77
"options": {
88
"no-language-in-filenames": true,
99
"preserve-filenames": true

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S1451.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"func": "Constant\/Issue",
1313
"constantCost": "5min"
1414
},
15-
"tags": [],
15+
"tags": [
16+
"convention"
17+
],
1618
"defaultSeverity": "Blocker",
1719
"ruleSpecification": "RSPEC-1451",
1820
"sqKey": "S1451",

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S1764.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"func": "Constant\/Issue",
1313
"constantCost": "2min"
1414
},
15-
"tags": [],
15+
"tags": [
16+
"suspicious"
17+
],
1618
"defaultSeverity": "Major",
1719
"ruleSpecification": "RSPEC-1764",
1820
"sqKey": "S1764",

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S3981.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"func": "Constant\/Issue",
1313
"constantCost": "2min"
1414
},
15-
"tags": [],
15+
"tags": [
16+
"confusing"
17+
],
1618
"defaultSeverity": "Major",
1719
"ruleSpecification": "RSPEC-3981",
1820
"sqKey": "S3981",

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S6524.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"constantCost": "5min"
1414
},
1515
"tags": [],
16-
"defaultSeverity": "Minor",
16+
"defaultSeverity": "Major",
1717
"ruleSpecification": "RSPEC-6524",
1818
"sqKey": "S6524",
1919
"scope": "All",

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S6527.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"constantCost": "5min"
1414
},
1515
"tags": [],
16-
"defaultSeverity": "Major",
16+
"defaultSeverity": "Minor",
1717
"ruleSpecification": "RSPEC-6527",
1818
"sqKey": "S6527",
1919
"scope": "All",

sonar-kotlin-plugin/src/main/resources/org/sonar/l10n/kotlin/rules/kotlin/S6528.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"constantCost": "5min"
1414
},
1515
"tags": [],
16-
"defaultSeverity": "Major",
16+
"defaultSeverity": "Minor",
1717
"ruleSpecification": "RSPEC-6528",
1818
"sqKey": "S6528",
1919
"scope": "All",

0 commit comments

Comments
 (0)