realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.65k stars 2.22k forks source link

SonarQube integration #175

Closed zippy1978 closed 8 years ago

zippy1978 commented 8 years ago

Hi,

I'm currently working on a open source SonarQube Swift plugin using SwiftLint. However I need to match a violation with it matching rule and I cannot do it because:

I was thinking about adding a rule:Rule property (or at least the rule identifier) to StyleViolation.

Is it the right way to do ? Is there any other way ?

rompic commented 8 years ago

no idea, but +1

zippy1978 commented 8 years ago

Hi,

I issued a PR to do it : https://github.com/realm/SwiftLint/pull/176.

I Hope it will be accepted !

rompic commented 8 years ago

looking forward to https://github.com/Backelite/sonar-swift

zippy1978 commented 8 years ago

Yes :) I still need to do some work on it, but I should issue a 0.1 release in the weeks to come

jpsim commented 8 years ago

@zippy1978 looks great! let me know if there's anything I can do, and please keep us posted on this ticket when you make a release!

rompic commented 8 years ago

+1

zippy1978 commented 8 years ago

Hi,

I just released a first version of the Swift SonarQube plugin here : https://github.com/Backelite/sonar-swift

jpsim commented 8 years ago

Cool! I'll be closing this issue then. Feel free to file new issues if you need anything else on the SwiftLint side!