SonarLint for ansible-lint (linux only linter)

137 views
Skip to first unread message

binary...@gmail.com

unread,
Mar 7, 2018, 11:05:48 AM3/7/18
to SonarLint
Hi Team,
For 'connected' support, how could SonarLint work with a linter that has linux-only support (such as ansible-lint) to support developers who use an appropriate IDE (eclipse, intelliJ, etc) but on a windows7 desktop?

The scenario is around developers who may have restrictions preventing local usage of linux on their desktops (cygwin nor windows linux subsystem alternatives) but want to take advantage of linux-only linters by having the linter, ideally, run on the SonarQube server which itself *is* running on linux.

Is it feasible to have linux-only linters run on sonarqube but provide interactive feedback on the IDE side with SonarLint?  Ansible-lint is the specific request, but may be useful for other options.

TIA, one way or another options/guidance!



Julien HENRY

unread,
Mar 7, 2018, 11:19:58 AM3/7/18
to binary...@gmail.com, SonarLint
Hi,

SonarLint runs SonarSource analyzers only, and even in connected mode they run on the developer box. I think "interactive feedback" and "run on SonarQube server side" is not something compatible (SonarQube analysis are asynchronous).

So I don't see how SonarLint could help here.

++

Julien Henry | SonarSource

Developer

https://sonarsource.com


--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/c5690ef1-75e8-41b0-95f0-4d596045eaf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

binary...@gmail.com

unread,
Mar 7, 2018, 11:30:36 AM3/7/18
to SonarLint
Thanks Julien for the prompt response!

Reviewing the SonarSource analyzers, is there a plugin project I could fork and poke around porting the rules from ansible-lint into a sonarsource analyzer equivalent?  Most of the Ansible projects are based on analyzing YAML file formats.

-D


On Wednesday, March 7, 2018 at 11:19:58 AM UTC-5, Julien HENRY wrote:
Hi,

SonarLint runs SonarSource analyzers only, and even in connected mode they run on the developer box. I think "interactive feedback" and "run on SonarQube server side" is not something compatible (SonarQube analysis are asynchronous).

So I don't see how SonarLint could help here.

++

Julien Henry | SonarSource

Developer

https://sonarsource.com


2018-03-07 17:05 GMT+01:00 <binary...@gmail.com>:
Hi Team,
For 'connected' support, how could SonarLint work with a linter that has linux-only support (such as ansible-lint) to support developers who use an appropriate IDE (eclipse, intelliJ, etc) but on a windows7 desktop?

The scenario is around developers who may have restrictions preventing local usage of linux on their desktops (cygwin nor windows linux subsystem alternatives) but want to take advantage of linux-only linters by having the linter, ideally, run on the SonarQube server which itself *is* running on linux.

Is it feasible to have linux-only linters run on sonarqube but provide interactive feedback on the IDE side with SonarLint?  Ansible-lint is the specific request, but may be useful for other options.

TIA, one way or another options/guidance!



--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages