{"action":"created","issue":{"url":"https://api.github.com/repos/golang/lint/issues/221","repository_url":"https://api.github.com/repos/golang/lint","labels_url":"https://api.github.com/repos/golang/lint/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/golang/lint/issues/221/comments","events_url":"https://api.github.com/repos/golang/lint/issues/221/events","html_url":"https://github.com/golang/lint/issues/221","id":161688303,"number":221,"title":"Incorrectly detects ALL_CAPS warning for numeric names","user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars1.githubusercontent.com/u/1706826?v=4","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-22T13:51:37Z","updated_at":"2018-03-02T06:33:09Z","closed_at":"2018-03-02T06:33:09Z","author_association":"NONE","body":"Specifically any variables named such as `V123_456` will give the warning about using ALL_CAPS and suggest camel-case, which is incorrect. The initial capital is necessary to export the variable and none of the other characters have lower-case alternatives.\n"},"comment":{"url":"https://api.github.com/repos/golang/lint/issues/comments/369834740","html_url":"https://github.com/golang/lint/issues/221#issuecomment-369834740","issue_url":"https://api.github.com/repos/golang/lint/issues/221","id":369834740,"user":{"login":"andybons","id":365204,"avatar_url":"https://avatars3.githubusercontent.com/u/365204?v=4","gravatar_id":"","url":"https://api.github.com/users/andybons","html_url":"https://github.com/andybons","followers_url":"https://api.github.com/users/andybons/followers","following_url":"https://api.github.com/users/andybons/following{/other_user}","gists_url":"https://api.github.com/users/andybons/gists{/gist_id}","starred_url":"https://api.github.com/users/andybons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andybons/subscriptions","organizations_url":"https://api.github.com/users/andybons/orgs","repos_url":"https://api.github.com/users/andybons/repos","events_url":"https://api.github.com/users/andybons/events{/privacy}","received_events_url":"https://api.github.com/users/andybons/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T06:33:09Z","updated_at":"2018-03-02T06:33:09Z","author_association":"OWNER","body":"From what I can see, the fix for this would be either too specific to this instance, or too complex to cover all cases reliably. I’m afraid this falls into “sometimes there will be false positives” as noted in the README:\r\n\r\n> Golint is not perfect, and has both false positives and false negatives. Do not treat its output as a gold standard.\r\n\r\nIf you can come up with a simple fix that covers most cases, feel free to re-open."}}
{"actor":{"display_login":"andybons"}}