sonarqube - sonar c# rules removed from quality profile after upgrade 4.5.6 to 5.6 -
i've upgraded testing environment 4.5.6 c# 3.3 5.6 c# 5.3.2 noticed in upgrade process of sonar's c# rules have been omitted (e.g. "assignment should not used inside sub-expressions"), seems fxcop rules , common rules have migrated correctly.
i noticed rule id have possibly changed. on 4.5.6 c# 3.3 rule id csharpsquid:assignmentinsidesubexpression, , on 5.6 c# 5.3.2 id csharpsquid:s1121 . reason? if so, why id changed?
yes, that's reason. c# plugin 3.3 quite old. maybe 2 years, have dropped these legacy ids, , rules use sxxx format.
Comments
Post a Comment