I found Using SonarQube in Eclipse and will ask a separate question targeted at Python. But here I want to ask more generally how to use SonarQube as a replacement for lint-like UNIX CLI tools while I'm working on individual source files before I commit. Specifically, what if I don't want to fire up Eclipse? I just want to make some tweaks to source file and check it against rules such as "Collapsible 'if' statements should be merged" (the actual example that's blocking me today).
Even if I could commit to an experimental branch and see my analysis before I open a pull request, that would be better than nothing.
SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality. Sonar does static code analysis, which provides a detailed report of bugs, code smells, vulnerabilities, code duplications.
SonarLint is YOUR Code Quality & Code Security tool. SonarQube is YOUR TEAM's Code Quality & Code Security tool.
You can use SonarLint to run the analysis before the commit. It can be installed as plugin into your editor. Download and further instructions are available here http://www.sonarlint.org
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