Hello to everyone in the community,
I have a few questions about SonarCloud.
Repo Language: Swift
1- I have a framework that I use in all my projects, and this framework has a function that I use, and I call this function with the same parameters more than once for various reasons. Sonar analysis naturally marks this as duplication. But actually this is not a duplication for my projects. My question is: can I ensure that for all of my projects as permanently not counted as duplication?
2- A similar issue with my first question. Again, in all of my projects, there is a string constant that I use and it contains “password” text. Actually this is a key I use for localization in the app interface. SonarCloud naturally marks this as CodeSmell. But actually this is not a code smell for my projects. My question is: can I ensure that for all of my projects as permanently not counted as CodeSmell?
3- Can I add exceptions project specific? Like the exceptions that I told my questions above? In other words, an exception is active in one project and deactive in another.
4- My last question: Is it possible to define custom rules on SonarCloud like SonarQube? I’m not talking about Quality Profile and Quality Gate. And can the content of an existing rule be modified? like regex of the rule.
I hope the questions will be enlightening for people who have similar questions.
Thank you very much for your answers in advance.