Custom Rule for avoid keyword

Welcome, @mrkrit!

Yes, you can add a custom rule that extends

First, read about Rules then you can read about customizing and extending coding rules here. Not all languages are supported, so make sure to read the docs.

Next, if you still have trouble, we a separate category forum for Writing Rules. You will find many examples and links from previous posters. Here is a repository of examples: https://github.com/SonarSource/sonar-custom-rules-examples

For Java, please reference this post, which will give you examples on how to set up custom rules: Create java custom rule

Please reply with your status if you have any further questions.

Joe

1 Like