Hi All, I could see a difference between gradle-de...
# detekt
v
Hi All, I could see a difference between gradle-detekt-plugin (1.9.1) and detekt-sonar-plugin(2.0.0) reported issues... with same config yml file.. also anyone please tell me when can we expect detekt-sonar plugin will be updated based on 1.9.1?
v
thanks for the update @schalkms 👍
a
I will request the addition to the marketplace tomorrow, expect it soon.
v
cool. thanks for the update @Artur Bosch
@Artur Bosch is it possible to add detekt config file in sonarqube itself . that way, we wanted to ensure that the team does not change yml file by adding exclusions just to fake results 🙂.
a
Yes, in the configuration of a project (only Admin) you can specify the config and baseline files. Best.
v
@Artur Bosch thanks for your reply. I think as an admin i can only specify the Path of the config/baseline files.. correct? not the content to keep in server side
a
Yes, that's right. That's the easiest way to stay in sync with the project config isnt't it?
v
ok, yep thats true .. was actually looking is there a to paste that config file in server side itself
as long as developers are passionate enough to follow on local machines,, its good..
some times, yeah ppl skip it
a
But pasting the config content for sonarqube only users would be still quite interesting. Never thought of it actually.
Feel free to open a feature request on the sonar-detekt side
v
yeah thanks
Also @Artur Bosch is there a ticket (new Rule) in your roadmap to enforce D in SOLID..
making sure that "the constructor params are interfaces/abstract classes" of high level class
a
No such rule yet. Maybe you want to tackle such a rule ?
v
yeah.. we wanted to enforce to follow SOLID strictly .. m just exploring writing a detekt custom rule..
thats fine @Artur Bosch m really in love with Detekt .. awesome plugin 👍
👍 1
s
Thanks for the kind words! 🙂 Regarding the SOLID principles I have written numerous posts. https://github.com/detekt/detekt/issues/1381 https://github.com/detekt/detekt/issues/2437
👍 1