Is there any code inspector like sonarqube for flutter.
As I am building a mobile app using flutter, I want my code quality very good. That's why I was searching sonarqube for flutter, but I was not able to find this.
At the moment of writing, there is no official support for Dart and Flutter from SonarQube , but long live GitHub and the community. There is already a plugin/extension that can be downloaded at https://github.com/insideapp-oss/sonar-flutter.
To run flutter analyze , Codemagic specifies the analyze command in the Flutter analyze arguments field. You can pass additional arguments to customize static code analysis. For example, adding --write=analyzer-output. txt prints the results of static code analysis into a text file.
I just released a Flutter / Dart plugin for SonarQube. It is here : https://github.com/insideapp-oss/sonar-flutter
You can add analysis_options.yaml in the root of your project to enable extra checks and customize static analysis. You can read about it here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With