Skip to content

Commit 35e7ca4

Browse files
SONARJAVA-6205 Remove S100 from AI quality profile
1 parent 472d1cc commit 35e7ca4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/Agentic_way_profile.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "AI Quality Profile",
33
"ruleKeys": [
4-
"S100",
54
"S106",
65
"S107",
76
"S108",
@@ -470,4 +469,4 @@
470469
"S8465",
471470
"S8469"
472471
]
473-
}
472+
}

sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaAgenticWayProfileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void profile_is_registered_as_expected() {
5252
BuiltInQualityProfilesDefinition.BuiltInQualityProfile actualProfile = profilesPerLanguages.get("java").get("AI Quality Profile");
5353
assertThat(actualProfile.isDefault()).isFalse();
5454
assertThat(actualProfile.rules())
55-
.hasSize(468)
55+
.hasSize(467)
5656
.extracting(BuiltInQualityProfilesDefinition.BuiltInActiveRule::ruleKey)
5757
.doesNotContainAnyElementsOf(List.of(
5858
"S101",

0 commit comments

Comments
 (0)