{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/3167","repository_url":"https://api.github.com/repos/bbatsov/rubocop","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3167/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3167/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3167/events","html_url":"https://github.com/bbatsov/rubocop/issues/3167","id":157047264,"number":3167,"title":"Cop idea: numbered variable names (user_1 vs user1)","user":{"login":"mockdeep","id":80543,"avatar_url":"https://avatars.githubusercontent.com/u/80543?v=3","gravatar_id":"","url":"https://api.github.com/users/mockdeep","html_url":"https://github.com/mockdeep","followers_url":"https://api.github.com/users/mockdeep/followers","following_url":"https://api.github.com/users/mockdeep/following{/other_user}","gists_url":"https://api.github.com/users/mockdeep/gists{/gist_id}","starred_url":"https://api.github.com/users/mockdeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mockdeep/subscriptions","organizations_url":"https://api.github.com/users/mockdeep/orgs","repos_url":"https://api.github.com/users/mockdeep/repos","events_url":"https://api.github.com/users/mockdeep/events{/privacy}","received_events_url":"https://api.github.com/users/mockdeep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bbatsov/rubocop/labels/feature%20request","name":"feature request","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-05-26T18:22:42Z","updated_at":"2016-07-04T16:25:05Z","closed_at":null,"body":"We've got a lot of places in our code where we use a couple of records, something like:\r\n\r\n```ruby\r\nuser_1 = blah\r\nuser_2 = bloo\r\n```\r\n\r\nSometimes people number them instead, `user1` and `user2`. Would be nice to have a rule to enforce consistent numbering of variable names, so always with `_` or always without."},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/230323255","html_url":"https://github.com/bbatsov/rubocop/issues/3167#issuecomment-230323255","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3167","id":230323255,"user":{"login":"Drenmi","id":5259935,"avatar_url":"https://avatars.githubusercontent.com/u/5259935?v=3","gravatar_id":"","url":"https://api.github.com/users/Drenmi","html_url":"https://github.com/Drenmi","followers_url":"https://api.github.com/users/Drenmi/followers","following_url":"https://api.github.com/users/Drenmi/following{/other_user}","gists_url":"https://api.github.com/users/Drenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Drenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drenmi/subscriptions","organizations_url":"https://api.github.com/users/Drenmi/orgs","repos_url":"https://api.github.com/users/Drenmi/repos","events_url":"https://api.github.com/users/Drenmi/events{/privacy}","received_events_url":"https://api.github.com/users/Drenmi/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T16:25:05Z","updated_at":"2016-07-04T16:25:05Z","body":"There is, of course, a small chance for false positives. Consider, for example, a method call `base64` within a class, which would get flagged."}}
{"actor":{"display_login":"Drenmi"}}