{"action":"created","issue":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/326","repository_url":"https://api.github.com/repos/benmosher/eslint-plugin-import","labels_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/326/comments","events_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/326/events","html_url":"https://github.com/benmosher/eslint-plugin-import/pull/326","id":153825316,"number":326,"title":"Fix newline-after-import rule for require","user":{"login":"lo1tuma","id":169170,"avatar_url":"https://avatars.githubusercontent.com/u/169170?v=3","gravatar_id":"","url":"https://api.github.com/users/lo1tuma","html_url":"https://github.com/lo1tuma","followers_url":"https://api.github.com/users/lo1tuma/followers","following_url":"https://api.github.com/users/lo1tuma/following{/other_user}","gists_url":"https://api.github.com/users/lo1tuma/gists{/gist_id}","starred_url":"https://api.github.com/users/lo1tuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lo1tuma/subscriptions","organizations_url":"https://api.github.com/users/lo1tuma/orgs","repos_url":"https://api.github.com/users/lo1tuma/repos","events_url":"https://api.github.com/users/lo1tuma/events{/privacy}","received_events_url":"https://api.github.com/users/lo1tuma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-09T17:16:01Z","updated_at":"2016-05-14T07:02:58Z","closed_at":"2016-05-13T19:23:09Z","pull_request":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/pulls/326","html_url":"https://github.com/benmosher/eslint-plugin-import/pull/326","diff_url":"https://github.com/benmosher/eslint-plugin-import/pull/326.diff","patch_url":"https://github.com/benmosher/eslint-plugin-import/pull/326.patch"},"body":"This PR fixes #318.\r\n\r\nActually I’m not convinced that this rule really makes sense for commonjs, there are just too many edge-cases and no way to say which to exclude from this rule, e.g. the following:\r\n\r\n```js\r\nrequire('a');\r\nfoo(require('b'), require('c'), require('d'));\r\nvar assign = Object.assign || require('object-assign');\r\nconst nightwatchConfig = { seleniumPath: require('selenium-standalone').path };\r\n```\r\n\r\nI’ve tried my best to handle those cases."},"comment":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/comments/219205069","html_url":"https://github.com/benmosher/eslint-plugin-import/pull/326#issuecomment-219205069","issue_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/326","id":219205069,"user":{"login":"jfmengels","id":3869412,"avatar_url":"https://avatars.githubusercontent.com/u/3869412?v=3","gravatar_id":"","url":"https://api.github.com/users/jfmengels","html_url":"https://github.com/jfmengels","followers_url":"https://api.github.com/users/jfmengels/followers","following_url":"https://api.github.com/users/jfmengels/following{/other_user}","gists_url":"https://api.github.com/users/jfmengels/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmengels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmengels/subscriptions","organizations_url":"https://api.github.com/users/jfmengels/orgs","repos_url":"https://api.github.com/users/jfmengels/repos","events_url":"https://api.github.com/users/jfmengels/events{/privacy}","received_events_url":"https://api.github.com/users/jfmengels/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T07:02:57Z","updated_at":"2016-05-14T07:02:57Z","body":"Thanks @lo1tuma :D"}}