Hi…
the regExp is always .*SomeWord.* and the flag i … for all the three rules…
So .*foo.* should match the lines
// foo Comment1
// todo foo Comment2
That means, 2 code smells… The other 2 rules are should match the other 4 lines of my code snippet.
So, what i expect for the code snippet are 6 Code Smells in Sonar, but i only get 2 code smells triggered by one of the 3 rules.
The other 2 rules don’t trigger a code smell… if i now deactivate the one which triggers then suddenly one of the two remaining rules triggers 2 code smells… and the last rule doesn’t trigger…
good to know.
I don’t use typescript:S124 template, but other templates like i.e. java:S3688 and never hit those
problems.
Is this bug only relevant for typescript:S124 or for templates in general ?
Are there other templates with that problem ?