{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/5","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/5/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/5/events","html_url":"https://github.com/realm/SwiftLint/issues/5","id":77754102,"number":5,"title":"Add the ability to auto-correct","user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-18T18:23:26Z","updated_at":"2015-11-05T10:53:18Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/154029281","html_url":"https://github.com/realm/SwiftLint/issues/5#issuecomment-154029281","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/5","id":154029281,"user":{"login":"mgrebenets","id":350654,"avatar_url":"https://avatars.githubusercontent.com/u/350654?v=3","gravatar_id":"","url":"https://api.github.com/users/mgrebenets","html_url":"https://github.com/mgrebenets","followers_url":"https://api.github.com/users/mgrebenets/followers","following_url":"https://api.github.com/users/mgrebenets/following{/other_user}","gists_url":"https://api.github.com/users/mgrebenets/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrebenets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrebenets/subscriptions","organizations_url":"https://api.github.com/users/mgrebenets/orgs","repos_url":"https://api.github.com/users/mgrebenets/repos","events_url":"https://api.github.com/users/mgrebenets/events{/privacy}","received_events_url":"https://api.github.com/users/mgrebenets/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T10:53:18Z","updated_at":"2015-11-05T10:53:18Z","body":"+1\r\n\r\nWe giving SwiftLint a try and one thing people find annoying is number of trailing whitespaces warnings. Why those show up in the code is another question, let's not go into details :)\r\n\r\nBut if SwiftLint could have an auto formatting option like Uncrustify for Objective-C, we would definitely turn it on. In that case though, it most likely has to be a plugin with \"Format on Save\" option."}}