Elena Vilchik

Results 87 comments of Elena Vilchik

@marvinside sorry I was not clear, by inside `[]` I meant array access, not array creation.

There is a try in branch https://github.com/SonarSource/SonarTS/tree/issue-380, but results are not very good (not many issues, and it's not clear if they are true positive)

btw feel free to try [sonarcloud](https://sonarcloud.io/) (it's reporting issues from this plugin as well). There you will see only "new" issues (check here https://blog.sonarsource.com/clean-as-you-code)

I wonder if other plugins doing something similar, @micaelmbagira could you share some examples?

the point of the rule is that it's easy to do a typo and it's safer to reuse a constant. Don't you think that this reasoning is relevant even in...

@drummer3333 could you provide us with a reproducer (`.ts` file)? I believe angular plugin extracts HTML parts from `.ts` files into tmp files (like `1_inline-template.component.html` in the log), but it's...

@DionatanGG I think you can just disable the rule (`"sonar/no-element-overwrite": "off"`) with enabled recommended profile (that way you get new rules as soon as update plugin)

@DionatanGG may be you could provide a small reproducer project then? then we could actually fix the problem :)

@mlebarron can you provide such `component.html`? I want to reproduce locally

@mikeharrison-selfridges are you aware of [SonarLint](https://www.sonarlint.org/) plugin? Are you using VSCode? Are you sure you have the same parameter? Why are you using Sonar along with ESLint?