- ALM: Azure DevOps
- CI system: Azure DevOps
- Languages: typescript and javascript
- Steps to reproduce: n/a
- Potential workaround: unknown
I noticed that the following rule has been deprecated for TS and JS in our organization. There is a recommended replacement of 127 but that rule does not exist for TS and JS, or at least I cannot find it in my organizations rules for TS or JS. I do see 127 for Flex, C#, Objective-C, C++, … I also cannot find rule 127 in the sonar source rules.
Loop counters should not be assigned within the loop body (RSPEC-2310)
What can I replace rule 2310 with? Also, why is the following deprecation message in the description of rule 2310 for my organization but not in the 2310 rule for sonar source rules?
“This rule is deprecated; use S127 instead.”: