{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/175","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/175/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/175/events","html_url":"https://github.com/realm/SwiftLint/issues/175","id":114440991,"number":175,"title":"SonarQube integration","user":{"login":"zippy1978","id":885183,"avatar_url":"https://avatars.githubusercontent.com/u/885183?v=3","gravatar_id":"","url":"https://api.github.com/users/zippy1978","html_url":"https://github.com/zippy1978","followers_url":"https://api.github.com/users/zippy1978/followers","following_url":"https://api.github.com/users/zippy1978/following{/other_user}","gists_url":"https://api.github.com/users/zippy1978/gists{/gist_id}","starred_url":"https://api.github.com/users/zippy1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zippy1978/subscriptions","organizations_url":"https://api.github.com/users/zippy1978/orgs","repos_url":"https://api.github.com/users/zippy1978/repos","events_url":"https://api.github.com/users/zippy1978/events{/privacy}","received_events_url":"https://api.github.com/users/zippy1978/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-31T23:51:31Z","updated_at":"2015-11-18T01:39:24Z","closed_at":null,"body":"Hi,\r\n\r\nI'm currently working on a open source SonarQube Swift plugin using SwiftLint.\r\nHowever I need to match a violation with it matching rule and I cannot do it because:\r\n - *swiftlint rules* command does not output rule ids.\r\n - *swiftlint lint* command only prints violations without any reference to the related rule.\r\n\r\nI was thinking about adding a rule:Rule property (or at least the rule identifier) to StyleViolation.\r\n\r\nIs it the right way to do ? \r\nIs there any other way ?\r\n"},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/157569711","html_url":"https://github.com/realm/SwiftLint/issues/175#issuecomment-157569711","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/175","id":157569711,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T01:39:24Z","updated_at":"2015-11-18T01:39:24Z","body":"@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!"}}