Context
I have a set of custom rules installed in my SonarQube server, I want the rules from my custom plugin (installed .jar) to be shown to every developer using SonarLint in their IDEs. I’m asking this again since the latest question I’ve found here regarding this subject was from 2 years ago.
Question 1: Is it possible for SonarLint to analyse using my custom rules, if so, how? Question 2: If I create a XPATH custom rule within my instance, this rule will be shown in connected SonarLint clients?
Are your custom rules included in the relevant Quality Profile(s)?
We’ve developed a plugin for a new language, it has a default Quality Profile associated with it, we had to develop this Quality Profile in order to the plugin to work.
Are your developers working in connected mode?
Some are, most aren’t. We could assert the use of connected mode if necessary.
Don’t worry about the name , Andre is almost the same thing!
So no lint for custom rules implemented as we did…
Thanks for answering! You’ve been very helpful
I still have some other questions regarding custom rules:
We’d like to have custom rules regarding built-in languages, e.g.XML. If I create a XML XPATH custom rule within my instance, would this rule be shown in connected mode SonarLint clients?
Are there any guidelines of example repos for custom plugins for built-in languages (preferably XML or JS)
It’s just been brought to my attention that SonarLint doesn’t support anything below 9.9.6. You’ll need to upgrade your LTA version (you should anyway )