{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3077","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3077/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3077/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3077/events","html_url":"https://github.com/eslint/eslint/issues/3077","id":95928760,"number":3077,"title":"Curly doesn't work with empty loops","user":{"login":"ilyavolodin","id":1380062,"avatar_url":"https://avatars.githubusercontent.com/u/1380062?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyavolodin","html_url":"https://github.com/ilyavolodin","followers_url":"https://api.github.com/users/ilyavolodin/followers","following_url":"https://api.github.com/users/ilyavolodin/following{/other_user}","gists_url":"https://api.github.com/users/ilyavolodin/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyavolodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyavolodin/subscriptions","organizations_url":"https://api.github.com/users/ilyavolodin/orgs","repos_url":"https://api.github.com/users/ilyavolodin/repos","events_url":"https://api.github.com/users/ilyavolodin/events{/privacy}","received_events_url":"https://api.github.com/users/ilyavolodin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-19T16:22:14Z","updated_at":"2015-07-19T16:48:09Z","closed_at":null,"body":"With the following code:\r\n\r\n```js\r\n/* eslint curly: 2*/\r\nfor (var i = 0; i <= 5; console.log(i++));\r\n```\r\n\r\nYou get the curly error:\r\n\r\n```sh\r\n2:0 Expected { after 'for' condition. (curly)\r\n```\r\n\r\nIt should not error for a body-less loops.\r\n\r\nThis is reproducible in online demo (so, version 0.24.1)"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/122680267","html_url":"https://github.com/eslint/eslint/issues/3077#issuecomment-122680267","issue_url":"https://api.github.com/repos/eslint/eslint/issues/3077","id":122680267,"user":{"login":"michaelficarra","id":218840,"avatar_url":"https://avatars.githubusercontent.com/u/218840?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelficarra","html_url":"https://github.com/michaelficarra","followers_url":"https://api.github.com/users/michaelficarra/followers","following_url":"https://api.github.com/users/michaelficarra/following{/other_user}","gists_url":"https://api.github.com/users/michaelficarra/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelficarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelficarra/subscriptions","organizations_url":"https://api.github.com/users/michaelficarra/orgs","repos_url":"https://api.github.com/users/michaelficarra/repos","events_url":"https://api.github.com/users/michaelficarra/events{/privacy}","received_events_url":"https://api.github.com/users/michaelficarra/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T16:48:09Z","updated_at":"2015-07-19T16:48:09Z","body":"> but in this case, there is no body at all\r\n\r\nThat's really not true at all. The body is a statement. Sometimes it's a block statement which contains other statements. This one is basically the no-op statement."}}