Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable/disable any rule from SonarLint in Eclipse

I have SonarLint installed in Eclipse and there is a remotely set up sonarQube server, but rules are different on both . How can I configure rules same as SonarQube on SonarLint in my Eclipse ?

like image 235
Nishant Modi Avatar asked May 06 '16 07:05

Nishant Modi


People also ask

How do you set rules in SonarLint?

Configuring the RulesetBring up the Preferences dialog via Window -> Preferences from the main menu. From there, expand the SonarLint item in the left-hand treeview and click the Rules Configuration item.

How do I turn off SonarLint processing in eclipse?

Just go to the project preferences and choose SonarLint. Then uncheck “Run SonarLint” automatically.

How do I enable SonarLint rule in Intellij?

In Intellij — Go to File >> Plugins >> Type 'SonarLint' >> Install and Restart IDE. (2) we can choose the SonarQube rules. → To integrate SonarQube(server) and SonarLint in our IDE and run SonarQube code inspection rules per class to give results quickly. Add the sonarQube connection binding.


1 Answers

I thought I would leave this up here for anyone looking.....

To Disable/Re-Enable Rules in SonarLint/Eclipse. -Window-Preferences-SonarLint-Rules Configuration. -Select Your Language(in my case Java). -Select the drop for changed rules or open the + symbol to show all rules.

like image 157
kelevra88 Avatar answered Oct 29 '22 09:10

kelevra88