Could the SonarQube Community Edition use for commercal project

The commercial project want to implement SonarQube Community Edition in my company.
Does It have license and legal problem?

The community edition of SonarQube is fine to use when analyzing a commercial project.

If you want to include SonarQube itself in your project, or modify it somehow, you will need to review the license for SonarQube itself, which is at, to make sure you’re following the terms.

If you’re still unsure, you can reply with more details about how you want to use SonarQube, and someone should be able to help you out.

I only analyze a commercial project.

If I use SonarQube to scan my project, should I publish the project source code or I can keep it private.

And the SonarLint is the same situation?