{"action":"opened","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/321","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/321/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/321/events","html_url":"https://github.com/realm/SwiftLint/issues/321","id":125195313,"number":321,"title":"Enforce explicit self","user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T15:17:25Z","updated_at":"2016-01-06T15:17:25Z","closed_at":null,"body":"Due to the Swift evolution proposal 009 being rejected, but still having a pretty big following, I think it'd be very valuable for certain teams to be able to enforce explicit self (like in Objective-C). [Here's](https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160104/005478.html) the reasoning for not changing the language from the core team and [here's](https://github.com/apple/swift-evolution/blob/master/proposals/0009-require-self-for-accessing-instance-members.md) the proposal itself, where you can find reasons why the proposed change makes sense for some teams.\r\n\r\nThe gist of the decision was that explicit self makes sense for a certain group of people and those should use a lint tool (suggested by the core Swift team) instead of the language being changed. Thus I think SwiftLint supporting this rule would help it to be used by all those devs."}}