{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2614","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2614/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2614/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2614/events","html_url":"https://github.com/eslint/eslint/issues/2614","id":80968871,"number":2614,"title":"Can't disable an env in a single file","user":{"login":"callumlocke","id":250617,"avatar_url":"https://avatars.githubusercontent.com/u/250617?v=3","gravatar_id":"","url":"https://api.github.com/users/callumlocke","html_url":"https://github.com/callumlocke","followers_url":"https://api.github.com/users/callumlocke/followers","following_url":"https://api.github.com/users/callumlocke/following{/other_user}","gists_url":"https://api.github.com/users/callumlocke/gists{/gist_id}","starred_url":"https://api.github.com/users/callumlocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumlocke/subscriptions","organizations_url":"https://api.github.com/users/callumlocke/orgs","repos_url":"https://api.github.com/users/callumlocke/repos","events_url":"https://api.github.com/users/callumlocke/events{/privacy}","received_events_url":"https://api.github.com/users/callumlocke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2015-05-26T13:46:18Z","updated_at":"2016-09-12T02:02:11Z","closed_at":"2015-09-22T16:16:34Z","body":"I've got a project all written in ES6, except for a single file that is in ES5.\r\n\r\nIn my .eslintrc:\r\n\r\n```yaml\r\nenv:\r\n  es6: true\r\n  node: true\r\n  browser: true\r\n```\r\n\r\nIn the single ES5 file:\r\n\r\n```js\r\n/*eslint-env es6:false*/\r\n\r\nconst fn = () => {};\r\n```\r\n\r\nI expected to get an eslint error for the fat arrow, but there's no error."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/246222394","html_url":"https://github.com/eslint/eslint/issues/2614#issuecomment-246222394","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2614","id":246222394,"user":{"login":"demisx","id":4452412,"avatar_url":"https://avatars.githubusercontent.com/u/4452412?v=3","gravatar_id":"","url":"https://api.github.com/users/demisx","html_url":"https://github.com/demisx","followers_url":"https://api.github.com/users/demisx/followers","following_url":"https://api.github.com/users/demisx/following{/other_user}","gists_url":"https://api.github.com/users/demisx/gists{/gist_id}","starred_url":"https://api.github.com/users/demisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisx/subscriptions","organizations_url":"https://api.github.com/users/demisx/orgs","repos_url":"https://api.github.com/users/demisx/repos","events_url":"https://api.github.com/users/demisx/events{/privacy}","received_events_url":"https://api.github.com/users/demisx/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T02:02:11Z","updated_at":"2016-09-12T02:02:11Z","body":"Looks like this is now availabe, at least in v3.3.1 I am using:\r\n\r\n```js\r\n/* eslint-env es6 */\r\n```\r\n\r\nMore here: http://eslint.org/docs/user-guide/configuring"}}
{"actor":{"display_login":"demisx"}}