Reputation: 1
I was using SonarLint plugin in IntelliJ IDEA by using the url of our project. However, I want to configura it independently for my custom projects, but I am confused how should I do that. Could you pls clarify me about the following issues?
1. What is the SonarCloud and SonarCube options for configuring the SonarLint plugin in IntelliJ IDEA?
2. If I have not a specific url or server for SonarQube, how should I configure the plugin? Which section should I select (SonarCloud and SonarCube)?
Upvotes: 2
Views: 22731
Reputation: 135
SonarLint plugin can be used in your IntelliJ independently without SonarQube/Cloud. You can run SonarLint on any file or project on your local machine and get the results there itself. SonarLint has the default rules already embedded to check your code for violations.
It is recommended to use SonarLint in connected mode with SonarQube so as to publish your results on the server and get a dashboard view of the analysis along with Quality Gate results.
Upvotes: 0
Reputation: 56
I think you'll find the documentation here.
I don't think the plugin will work if you don't have any installed SonarQube instance, or a SonarCloud account. The plugin needs to interact with a server to retrieve coding rules.
Upvotes: 0