Flutter custom rules - SonarQube 10.8+

SonarQube 10.8 - Enterprise Edition

What are you trying to accomplish?
I’m trying to set up a dart analyzer to assure compliance of some of my company’s business rules.

I wish to extend the Dart Language, should I use the custom plugin recommended in this link?

Our objective is to append new rules (made by us) to the native Dart set of rules. We’ve got lots of experience regarding custom rule development in previous versions (7.9 and 9.9), however, we don’t know if any steps were changed in the past major update (10+).

What’s your specific coding challenge in developing your plugin?
Should I create a Language “Dart” in the custom plugin, or there is any way of extending the already existing Dart Language?

Hi,

Sorry, but we don’t support built-in (i.e. from a plugin) custom rules for Dart, and there are no current plans to add the ability. Your best bet is to implement these rules outside of SonarQube and output your findings to the Generic Issues format.

 
HTH,
Ann