Skip to content
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

New Rule S1444: "public static" fields should be also readonly (won't be implemented) #6707

Closed
zsolt-kolbay-sonarsource opened this issue Feb 2, 2023 · 2 comments
Assignees
Labels
Area: C# C# rules related issues. Type: New Feature This hasn't been here before.
Projects

Comments

@zsolt-kolbay-sonarsource
Copy link
Contributor

Implement S1444 for C#

@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource added Type: New Feature This hasn't been here before. Area: C# C# rules related issues. labels Feb 2, 2023
@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource added this to the 8.53 milestone Feb 8, 2023
@github-actions github-actions bot added this to To do in Best Kanban Feb 8, 2023
@pavel-mikula-sonarsource
Copy link
Contributor

This needs to be considered in relation with S2339 and decision needs to be taken about "Sonar Way", as those rules are contradictory and each makes sense for different projects (exe, web vs. dll)

None of them should probably be in SonarWay

@mary-georgiou-sonarsource mary-georgiou-sonarsource moved this from To do to In progress in Best Kanban Feb 14, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource changed the title New Rule S1444: "public static" fields should be constant New Rule S1444: "public static" fields should be also readonly Feb 15, 2023
@mary-georgiou-sonarsource
Copy link
Contributor

This rule is already covered by S2223.
The plan is to update the S1444 RSPEC with this information and close this ticket.

PS: There will be a small hardening and description update for S2223 (related PR).

Rspec PR for rule S1444

@mary-georgiou-sonarsource mary-georgiou-sonarsource removed this from the 8.53 milestone Feb 16, 2023
@andrei-epure-sonarsource andrei-epure-sonarsource added this to the 8.54 milestone Feb 17, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource moved this from In progress to Review in progress in Best Kanban Feb 21, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource moved this from Review in progress to Done in Best Kanban Feb 21, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource changed the title New Rule S1444: "public static" fields should be also readonly New Rule S1444: "public static" fields should be also readonly (won't be implemented) Feb 21, 2023
Best Kanban automation moved this from Done to Validate Peach Feb 21, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource moved this from Validate Peach to Done in Best Kanban Feb 21, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource removed this from the 8.54 milestone Feb 24, 2023
@Tim-Pohlmann Tim-Pohlmann modified the milestone: 8.54 Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Type: New Feature This hasn't been here before.
Projects
Best Kanban
  
Done
Development

No branches or pull requests

5 participants