{"action":"opened","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/259","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/259/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/259/events","html_url":"https://github.com/realm/SwiftLint/issues/259","id":121770822,"number":259,"title":"Global Let should allow capitalization of first charater","user":{"login":"Marc-Hayes","id":9323116,"avatar_url":"https://avatars.githubusercontent.com/u/9323116?v=3","gravatar_id":"","url":"https://api.github.com/users/Marc-Hayes","html_url":"https://github.com/Marc-Hayes","followers_url":"https://api.github.com/users/Marc-Hayes/followers","following_url":"https://api.github.com/users/Marc-Hayes/following{/other_user}","gists_url":"https://api.github.com/users/Marc-Hayes/gists{/gist_id}","starred_url":"https://api.github.com/users/Marc-Hayes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marc-Hayes/subscriptions","organizations_url":"https://api.github.com/users/Marc-Hayes/orgs","repos_url":"https://api.github.com/users/Marc-Hayes/repos","events_url":"https://api.github.com/users/Marc-Hayes/events{/privacy}","received_events_url":"https://api.github.com/users/Marc-Hayes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-11T19:02:01Z","updated_at":"2015-12-11T19:02:01Z","closed_at":null,"body":"I have found that it is common, though not truly consistent, to have the first letter of global lets to be capitalized rather then lowercase.\r\n\r\nMy personal use case for this is declaration of NSNotificationCenter names in the same style as Apple.\r\n\r\n```swift\r\npublic let TopLevelFooBarNotificationIdentifier: String = \"com.foo.bar\"\r\n\r\npublic class FooBar {\r\n...\r\nNSNotificationCenter.defaultCenter().postNotificationName(TopLevelFooBarNotificationIdentifier, object: nil, userInfo: nil)\r\n...\r\n}\r\n\r\npublic class NotFooBar {\r\n...\r\nNSNotificationCenter.defaultCenter().addObserver(self, selector: \"keyboardVisible\", name: UIKeyboardWillShowNotification, object: nil)\r\nNSNotificationCenter.defaultCenter().addObserver(self, selector: \"doTheThing:\", name: TopLevelFooBarNotificationIdentifier, object: nil)\r\n...\r\n}\r\n```"}}