{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40","id":36375514,"html_url":"https://github.com/MoOx/eslint-loader/pull/40","diff_url":"https://github.com/MoOx/eslint-loader/pull/40.diff","patch_url":"https://github.com/MoOx/eslint-loader/pull/40.patch","issue_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/40","number":40,"state":"open","locked":false,"title":"Now filename is passed to CLIEngine instance executeOnText method","user":{"login":"mgtitimoli","id":4404683,"avatar_url":"https://avatars.githubusercontent.com/u/4404683?v=3","gravatar_id":"","url":"https://api.github.com/users/mgtitimoli","html_url":"https://github.com/mgtitimoli","followers_url":"https://api.github.com/users/mgtitimoli/followers","following_url":"https://api.github.com/users/mgtitimoli/following{/other_user}","gists_url":"https://api.github.com/users/mgtitimoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mgtitimoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgtitimoli/subscriptions","organizations_url":"https://api.github.com/users/mgtitimoli/orgs","repos_url":"https://api.github.com/users/mgtitimoli/repos","events_url":"https://api.github.com/users/mgtitimoli/events{/privacy}","received_events_url":"https://api.github.com/users/mgtitimoli/received_events","type":"User","site_admin":false},"body":"Passing filename to executeOnText method gives eslint the possibility to ignore files which their paths are present in .eslintignore. I've also added the extraction of the cwd from context.resourcePath, since doing this allows having relative paths within .eslintignore as long as webpack is executed from the project root folder ","created_at":"2015-05-28T06:29:34Z","updated_at":"2015-05-28T06:29:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c1a83cf474f3a131741cb0004c0b00757d08a2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40/commits","review_comments_url":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40/comments","review_comment_url":"https://api.github.com/repos/MoOx/eslint-loader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/40/comments","statuses_url":"https://api.github.com/repos/MoOx/eslint-loader/statuses/18cd79cadce622e7e402523c1f028ef789073692","head":{"label":"mgtitimoli:execute-on-text-filename","ref":"execute-on-text-filename","sha":"18cd79cadce622e7e402523c1f028ef789073692","user":{"login":"mgtitimoli","id":4404683,"avatar_url":"https://avatars.githubusercontent.com/u/4404683?v=3","gravatar_id":"","url":"https://api.github.com/users/mgtitimoli","html_url":"https://github.com/mgtitimoli","followers_url":"https://api.github.com/users/mgtitimoli/followers","following_url":"https://api.github.com/users/mgtitimoli/following{/other_user}","gists_url":"https://api.github.com/users/mgtitimoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mgtitimoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgtitimoli/subscriptions","organizations_url":"https://api.github.com/users/mgtitimoli/orgs","repos_url":"https://api.github.com/users/mgtitimoli/repos","events_url":"https://api.github.com/users/mgtitimoli/events{/privacy}","received_events_url":"https://api.github.com/users/mgtitimoli/received_events","type":"User","site_admin":false},"repo":{"id":36418111,"name":"eslint-loader","full_name":"mgtitimoli/eslint-loader","owner":{"login":"mgtitimoli","id":4404683,"avatar_url":"https://avatars.githubusercontent.com/u/4404683?v=3","gravatar_id":"","url":"https://api.github.com/users/mgtitimoli","html_url":"https://github.com/mgtitimoli","followers_url":"https://api.github.com/users/mgtitimoli/followers","following_url":"https://api.github.com/users/mgtitimoli/following{/other_user}","gists_url":"https://api.github.com/users/mgtitimoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mgtitimoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgtitimoli/subscriptions","organizations_url":"https://api.github.com/users/mgtitimoli/orgs","repos_url":"https://api.github.com/users/mgtitimoli/repos","events_url":"https://api.github.com/users/mgtitimoli/events{/privacy}","received_events_url":"https://api.github.com/users/mgtitimoli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgtitimoli/eslint-loader","description":"eslint loader (for webpack)","fork":true,"url":"https://api.github.com/repos/mgtitimoli/eslint-loader","forks_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/forks","keys_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/teams","hooks_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/hooks","issue_events_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/issues/events{/number}","events_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/events","assignees_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/assignees{/user}","branches_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/branches{/branch}","tags_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/tags","blobs_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/languages","stargazers_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/stargazers","contributors_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/contributors","subscribers_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/subscribers","subscription_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/subscription","commits_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/contents/{+path}","compare_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/merges","archive_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/downloads","issues_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/issues{/number}","pulls_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/labels{/name}","releases_url":"https://api.github.com/repos/mgtitimoli/eslint-loader/releases{/id}","created_at":"2015-05-28T06:03:56Z","updated_at":"2015-05-28T06:03:56Z","pushed_at":"2015-05-28T06:21:13Z","git_url":"git://github.com/mgtitimoli/eslint-loader.git","ssh_url":"git@github.com:mgtitimoli/eslint-loader.git","clone_url":"https://github.com/mgtitimoli/eslint-loader.git","svn_url":"https://github.com/mgtitimoli/eslint-loader","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MoOx:master","ref":"master","sha":"e45d3f68215d5d76562ba219957a911109b96af3","user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"repo":{"id":27577616,"name":"eslint-loader","full_name":"MoOx/eslint-loader","owner":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MoOx/eslint-loader","description":"eslint loader (for webpack)","fork":false,"url":"https://api.github.com/repos/MoOx/eslint-loader","forks_url":"https://api.github.com/repos/MoOx/eslint-loader/forks","keys_url":"https://api.github.com/repos/MoOx/eslint-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MoOx/eslint-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MoOx/eslint-loader/teams","hooks_url":"https://api.github.com/repos/MoOx/eslint-loader/hooks","issue_events_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/events{/number}","events_url":"https://api.github.com/repos/MoOx/eslint-loader/events","assignees_url":"https://api.github.com/repos/MoOx/eslint-loader/assignees{/user}","branches_url":"https://api.github.com/repos/MoOx/eslint-loader/branches{/branch}","tags_url":"https://api.github.com/repos/MoOx/eslint-loader/tags","blobs_url":"https://api.github.com/repos/MoOx/eslint-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MoOx/eslint-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MoOx/eslint-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/MoOx/eslint-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MoOx/eslint-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/MoOx/eslint-loader/languages","stargazers_url":"https://api.github.com/repos/MoOx/eslint-loader/stargazers","contributors_url":"https://api.github.com/repos/MoOx/eslint-loader/contributors","subscribers_url":"https://api.github.com/repos/MoOx/eslint-loader/subscribers","subscription_url":"https://api.github.com/repos/MoOx/eslint-loader/subscription","commits_url":"https://api.github.com/repos/MoOx/eslint-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/MoOx/eslint-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/MoOx/eslint-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/MoOx/eslint-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/MoOx/eslint-loader/contents/{+path}","compare_url":"https://api.github.com/repos/MoOx/eslint-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MoOx/eslint-loader/merges","archive_url":"https://api.github.com/repos/MoOx/eslint-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MoOx/eslint-loader/downloads","issues_url":"https://api.github.com/repos/MoOx/eslint-loader/issues{/number}","pulls_url":"https://api.github.com/repos/MoOx/eslint-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/MoOx/eslint-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/MoOx/eslint-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MoOx/eslint-loader/labels{/name}","releases_url":"https://api.github.com/repos/MoOx/eslint-loader/releases{/id}","created_at":"2014-12-05T06:15:25Z","updated_at":"2015-05-26T20:43:56Z","pushed_at":"2015-05-28T06:29:34Z","git_url":"git://github.com/MoOx/eslint-loader.git","ssh_url":"git@github.com:MoOx/eslint-loader.git","clone_url":"https://github.com/MoOx/eslint-loader.git","svn_url":"https://github.com/MoOx/eslint-loader","homepage":null,"size":495,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40"},"html":{"href":"https://github.com/MoOx/eslint-loader/pull/40"},"issue":{"href":"https://api.github.com/repos/MoOx/eslint-loader/issues/40"},"comments":{"href":"https://api.github.com/repos/MoOx/eslint-loader/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/MoOx/eslint-loader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MoOx/eslint-loader/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/MoOx/eslint-loader/statuses/18cd79cadce622e7e402523c1f028ef789073692"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":1,"changed_files":1}}