-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update RSPEC before 8.53 release #6762
Conversation
@@ -3,9 +3,16 @@ | |||
<p>This rule raises an issue when underscores (<code>_</code>) are used to break a number into irregular subgroups.</p> | |||
<h2>Noncompliant Code Example</h2> | |||
<pre> | |||
int duos = 1_00_00; | |||
int million = 1_000_00_000; // Noncompliant | |||
int thousand = 100_0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martin-strecker-sonarsource : FYI missing ;
fixed.
Kudos, SonarCloud Quality Gate passed! |
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes #6676
Draft since I am still going through the release process and understanding the steps.The file
MISRA_C++_2008_recommended_profile.json
, generated by./scripts/rspec/rspec cs
has been removed manually.The issue is already known: https://discuss.sonarsource.com/t/rule-api-misra-c-2008-profile-gets-created-for-c-and-vb-net/3328