Adding custom plugin to SonarLint

I wrote a custom Sonar server plugin to analyze files containing our internally developed DSL code.

I would like to be able to use SonarLint to analyze these files too. From what I can see SonarLint currently only supports Java, PHP, Python and Javascript plugins.

Looking at the code for the IntelliJ SonarLint plugin and core project it seems that I will have to add our custom plugin to the sqplugins in the build.gradle of the IntelliJ SonarLint plugin and the plugin key to the whitelist in the core project. However, there is probably a lot more that will have to happen to get it to work.

Has anyone here managed to get something like this working?

Suggestion raised below at the same time, I’ll close this thread to avoid any parallel conversation.

https://community.sonarsource.com/t/dynamically-add-sonar-plugins-to-sonarlint-beyond-the-default-java-php-python-and-javascript-plugins/1112