Must-share information (formatted with Markdown):
- which versions are you using SonarQube 8.5.1
- what are you trying to achieve: add custom Swift rules
- what have you tried so far to achieve this: read Sonar docs on custom rules
I need to add a custom rule for Swift code, I’ve checked the doc on this topic: Rules so I can create a custom rule from an existing rule template. However, there’s no rule template available for Swift language, so I wonder if there’s a way I can add a template for Swift and start from there?
Attached is a screenshot, while other languages have number of rule templates, there’s 0 for Swift (I had to search “swift” to reveal it in the list).
Thanks!