github SonarSource/SonarJS 8.4.0.16431
8.4.0

latest releases: 10.16.0.27621, 10.15.0.27423, 10.14.0.26080...
3 years ago

One more bunch of rules targeting regular expressions (MMF-2480):

  • S5869 Character classes in regular expressions should not contain the same character twice
  • S6019 Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string
  • S6351 Regular expressions with the global flag should be used with caution
  • S5843 Regular expressions should not be too complicated
  • S5867 Regular expressions with Unicode property escapes should set Unicode flag
  • S5842 Repeated patterns in regular expressions should not match the empty string
  • S6353 Regular expression quantifiers and character classes should be used concisely
  • S5852 Using slow regular expressions is security-sensitive

Don't miss a new SonarJS release

NewReleases is sending notifications on new releases.