{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/5471","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/5471/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5471/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/5471/events","html_url":"https://github.com/eslint/eslint/issues/5471","id":138589255,"number":5471,"title":"Unexpected block statement surrounding arrow body  arrow-body-style","user":{"login":"jmls","id":929523,"avatar_url":"https://avatars.githubusercontent.com/u/929523?v=3","gravatar_id":"","url":"https://api.github.com/users/jmls","html_url":"https://github.com/jmls","followers_url":"https://api.github.com/users/jmls/followers","following_url":"https://api.github.com/users/jmls/following{/other_user}","gists_url":"https://api.github.com/users/jmls/gists{/gist_id}","starred_url":"https://api.github.com/users/jmls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmls/subscriptions","organizations_url":"https://api.github.com/users/jmls/orgs","repos_url":"https://api.github.com/users/jmls/repos","events_url":"https://api.github.com/users/jmls/events{/privacy}","received_events_url":"https://api.github.com/users/jmls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-04T21:23:41Z","updated_at":"2016-03-04T22:12:37Z","closed_at":"2016-03-04T22:12:37Z","body":"I get this error when linting the following code\r\n\r\n```js\r\nconst gulp = require('gulp');\r\nconst conf = require('./conf');\r\nconst $ = require('gulp-load-plugins')();\r\n\r\ngulp.task('css', () => {\r\n  return gulp.src(`${conf.path.src}/**/*.css`)\r\n\r\n    .pipe($.concatCss(conf.build.css))\r\n    .pipe(gulp.dest('./dist/css'))\r\n    .pipe($.notify({\r\n      message: 'css task complete',\r\n    }));\r\n});\r\n\r\n```\r\n\r\nif I add a couple of lines (the let foo = true; foo = !foo)\r\n\r\n```js\r\nconst gulp = require('gulp');\r\nconst conf = require('./conf');\r\nconst $ = require('gulp-load-plugins')();\r\n\r\ngulp.task('css', () => {\r\n  let foo = true;\r\n  foo = !foo;\r\n\r\n  return gulp.src(`${conf.path.src}/**/*.css`)\r\n\r\n    .pipe($.concatCss(conf.build.css))\r\n    .pipe(gulp.dest('./dist/css'))\r\n    .pipe($.notify({\r\n      message: 'css task complete',\r\n    }));\r\n});\r\n```\r\n\r\nthen it lints without error\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/192492343","html_url":"https://github.com/eslint/eslint/issues/5471#issuecomment-192492343","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5471","id":192492343,"user":{"login":"jmls","id":929523,"avatar_url":"https://avatars.githubusercontent.com/u/929523?v=3","gravatar_id":"","url":"https://api.github.com/users/jmls","html_url":"https://github.com/jmls","followers_url":"https://api.github.com/users/jmls/followers","following_url":"https://api.github.com/users/jmls/following{/other_user}","gists_url":"https://api.github.com/users/jmls/gists{/gist_id}","starred_url":"https://api.github.com/users/jmls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmls/subscriptions","organizations_url":"https://api.github.com/users/jmls/orgs","repos_url":"https://api.github.com/users/jmls/repos","events_url":"https://api.github.com/users/jmls/events{/privacy}","received_events_url":"https://api.github.com/users/jmls/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T22:12:37Z","updated_at":"2016-03-04T22:12:37Z","body":"ah, thanks - I missed that."}}