{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4164","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4164/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4164/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4164/events","html_url":"https://github.com/eslint/eslint/issues/4164","id":111882666,"number":4164,"title":"`indent` rule in 1.7.0 unexpectedly complaining about seemingly-reasonable code, --fix makes it look worse","user":{"login":"alanhussey","id":383725,"avatar_url":"https://avatars.githubusercontent.com/u/383725?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhussey","html_url":"https://github.com/alanhussey","followers_url":"https://api.github.com/users/alanhussey/followers","following_url":"https://api.github.com/users/alanhussey/following{/other_user}","gists_url":"https://api.github.com/users/alanhussey/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhussey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhussey/subscriptions","organizations_url":"https://api.github.com/users/alanhussey/orgs","repos_url":"https://api.github.com/users/alanhussey/repos","events_url":"https://api.github.com/users/alanhussey/events{/privacy}","received_events_url":"https://api.github.com/users/alanhussey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-16T18:14:07Z","updated_at":"2015-10-16T22:37:49Z","closed_at":"2015-10-16T21:35:35Z","body":"I've got some code essentially like this:\r\n\r\n```\r\nfunction doStuff(keys) {\r\n    _.forEach(\r\n        keys,\r\n        key => {\r\n            doSomething(key);\r\n        }\r\n    );\r\n}\r\n```\r\n\r\n`--fix` transforms it to this, which seems worse?\r\n\r\n```\r\nfunction doStuff(keys) {\r\n    _.forEach(\r\n        keys,\r\n        key => {\r\n        doSomething(key);\r\n    }\r\n    );\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/148854757","html_url":"https://github.com/eslint/eslint/issues/4164#issuecomment-148854757","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4164","id":148854757,"user":{"login":"Qix-","id":885648,"avatar_url":"https://avatars.githubusercontent.com/u/885648?v=3","gravatar_id":"","url":"https://api.github.com/users/Qix-","html_url":"https://github.com/Qix-","followers_url":"https://api.github.com/users/Qix-/followers","following_url":"https://api.github.com/users/Qix-/following{/other_user}","gists_url":"https://api.github.com/users/Qix-/gists{/gist_id}","starred_url":"https://api.github.com/users/Qix-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qix-/subscriptions","organizations_url":"https://api.github.com/users/Qix-/orgs","repos_url":"https://api.github.com/users/Qix-/repos","events_url":"https://api.github.com/users/Qix-/events{/privacy}","received_events_url":"https://api.github.com/users/Qix-/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T22:37:49Z","updated_at":"2015-10-16T22:37:49Z","body":"@greenkeeperio-bot honnayyyyy I know you're a bot but damn..."}}