{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3809","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3809/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3809/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3809/events","html_url":"https://github.com/eslint/eslint/issues/3809","id":106617594,"number":3809,"title":"Getting around preprocessor...","user":{"login":"Shulin","id":965204,"avatar_url":"https://avatars.githubusercontent.com/u/965204?v=3","gravatar_id":"","url":"https://api.github.com/users/Shulin","html_url":"https://github.com/Shulin","followers_url":"https://api.github.com/users/Shulin/followers","following_url":"https://api.github.com/users/Shulin/following{/other_user}","gists_url":"https://api.github.com/users/Shulin/gists{/gist_id}","starred_url":"https://api.github.com/users/Shulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shulin/subscriptions","organizations_url":"https://api.github.com/users/Shulin/orgs","repos_url":"https://api.github.com/users/Shulin/repos","events_url":"https://api.github.com/users/Shulin/events{/privacy}","received_events_url":"https://api.github.com/users/Shulin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T18:34:48Z","updated_at":"2015-09-15T18:34:48Z","closed_at":null,"body":"So I have configurable code in a few of my projects. Doing things such as:\r\n\r\n#if DEBUG_MODE\r\n// Do some extra measurement code in here\r\n#endif \r\n\r\ninside my javascript files.\r\n\r\nI have a grunt task that strips out these sections of code while building for production environments. While running eslint on my files, it's throwing an error right away:\r\nerror  Unexpected token ILLEGAL\r\n\r\nWrapping these in \r\n/*eslint-disable */\r\n/*eslint-enable */\r\nblocks are not ignoring this special format, neither is: // eslint-disable-line\r\n\r\nSeems like disabling eslint should specifically ignore my uncharacteristic code."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/140492857","html_url":"https://github.com/eslint/eslint/issues/3809#issuecomment-140492857","issue_url":"https://api.github.com/repos/eslint/eslint/issues/3809","id":140492857,"user":{"login":"eslintbot","id":13383618,"avatar_url":"https://avatars.githubusercontent.com/u/13383618?v=3","gravatar_id":"","url":"https://api.github.com/users/eslintbot","html_url":"https://github.com/eslintbot","followers_url":"https://api.github.com/users/eslintbot/followers","following_url":"https://api.github.com/users/eslintbot/following{/other_user}","gists_url":"https://api.github.com/users/eslintbot/gists{/gist_id}","starred_url":"https://api.github.com/users/eslintbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslintbot/subscriptions","organizations_url":"https://api.github.com/users/eslintbot/orgs","repos_url":"https://api.github.com/users/eslintbot/repos","events_url":"https://api.github.com/users/eslintbot/events{/privacy}","received_events_url":"https://api.github.com/users/eslintbot/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T18:34:48Z","updated_at":"2015-09-15T18:34:48Z","body":"Thanks for the issue! If you're reporting a bug, please be sure to include:\n\n1. The version of ESLint you are using (run `eslint -v`)\n2. What you did (the source code and ESLint configuration)\n3. The actual ESLint output complete with numbers\n4. What you expected to happen instead\n\nRequesting a new rule? Please see [Proposing a New Rule](http://eslint.org/docs/developer-guide/contributing/new-rules) for instructions."}}