{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2519","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2519/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2519/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2519/events","html_url":"https://github.com/eslint/eslint/issues/2519","id":75812041,"number":2519,"title":"Strange comments error","user":{"login":"benderTheCrime","id":7144031,"avatar_url":"https://avatars.githubusercontent.com/u/7144031?v=3","gravatar_id":"","url":"https://api.github.com/users/benderTheCrime","html_url":"https://github.com/benderTheCrime","followers_url":"https://api.github.com/users/benderTheCrime/followers","following_url":"https://api.github.com/users/benderTheCrime/following{/other_user}","gists_url":"https://api.github.com/users/benderTheCrime/gists{/gist_id}","starred_url":"https://api.github.com/users/benderTheCrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benderTheCrime/subscriptions","organizations_url":"https://api.github.com/users/benderTheCrime/orgs","repos_url":"https://api.github.com/users/benderTheCrime/repos","events_url":"https://api.github.com/users/benderTheCrime/events{/privacy}","received_events_url":"https://api.github.com/users/benderTheCrime/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":2,"created_at":"2015-05-13T02:14:07Z","updated_at":"2015-05-13T02:45:18Z","closed_at":null,"body":"I'm getting this error:\r\n```bash\r\n/Users/jg/node_modules/gulp-eslint/node_modules/eslint/lib/eslint.js:256\r\n    ast.comments.forEach(function(comment) {\r\n                ^\r\nTypeError: Cannot read property 'forEach' of undefined\r\n```\r\n\r\nand it is not evident why it's happening. Here is my .eslintrc:\r\n\r\n```json\r\n{\r\n    \"parser\": \"babel\",\r\n    \"env\": {\r\n        \"node\": true,\r\n        \"mocha\": true,\r\n        \"es6\": true\r\n    },\r\n    \"rules\": {},\r\n    \"emcaFeatures\": {\r\n        \"arrowFunctions\": true,\r\n        \"binaryLiterals\": true,\r\n        \"blockBindings\": true,\r\n        \"classes\": true,\r\n        \"defaultParams\": true,\r\n        \"destructuring\": true,\r\n        \"forOf\": true,\r\n        \"generators\": true,\r\n        \"modules\": true,\r\n        \"objectLiteralComputedProperties\": true,\r\n        \"objectLiteralDuplicateProperties\": true,\r\n        \"objectLiteralShorthandMethods\": true,\r\n        \"objectLiteralShorthandProperties\": true,\r\n        \"octalLiterals\": true,\r\n        \"regexUFlag\": true,\r\n        \"regexYFlag\": true,\r\n        \"restParams\": true,\r\n        \"spread\": true,\r\n        \"superInFunctions\": true,\r\n        \"templateStrings\": true,\r\n        \"unicodeCodePointEscapes\": true,\r\n        \"globalReturn\": true,\r\n        \"jsx\": false\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/101487317","html_url":"https://github.com/eslint/eslint/issues/2519#issuecomment-101487317","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2519","id":101487317,"user":{"login":"benderTheCrime","id":7144031,"avatar_url":"https://avatars.githubusercontent.com/u/7144031?v=3","gravatar_id":"","url":"https://api.github.com/users/benderTheCrime","html_url":"https://github.com/benderTheCrime","followers_url":"https://api.github.com/users/benderTheCrime/followers","following_url":"https://api.github.com/users/benderTheCrime/following{/other_user}","gists_url":"https://api.github.com/users/benderTheCrime/gists{/gist_id}","starred_url":"https://api.github.com/users/benderTheCrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benderTheCrime/subscriptions","organizations_url":"https://api.github.com/users/benderTheCrime/orgs","repos_url":"https://api.github.com/users/benderTheCrime/repos","events_url":"https://api.github.com/users/benderTheCrime/events{/privacy}","received_events_url":"https://api.github.com/users/benderTheCrime/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T02:45:18Z","updated_at":"2015-05-13T02:45:18Z","body":"Ok, this seems to have fixed that error in particular. I'm getting an actual eslint error now:\r\n\r\n```bash\r\nMessage:\r\n    Illegal import declaration\r\n```\r\nDespite enabling all of the emcaFeatures and the import itself being well working, but that is unrelated to this issue in particular. Thank you for looking into this!"}}