{"action":"closed","number":2373,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2373","id":34078868,"html_url":"https://github.com/eslint/eslint/pull/2373","diff_url":"https://github.com/eslint/eslint/pull/2373.diff","patch_url":"https://github.com/eslint/eslint/pull/2373.patch","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2373","number":2373,"state":"closed","locked":false,"title":"Add support for extending configurations","user":{"login":"rexxars","id":48200,"avatar_url":"https://avatars.githubusercontent.com/u/48200?v=3","gravatar_id":"","url":"https://api.github.com/users/rexxars","html_url":"https://github.com/rexxars","followers_url":"https://api.github.com/users/rexxars/followers","following_url":"https://api.github.com/users/rexxars/following{/other_user}","gists_url":"https://api.github.com/users/rexxars/gists{/gist_id}","starred_url":"https://api.github.com/users/rexxars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexxars/subscriptions","organizations_url":"https://api.github.com/users/rexxars/orgs","repos_url":"https://api.github.com/users/rexxars/repos","events_url":"https://api.github.com/users/rexxars/events{/privacy}","received_events_url":"https://api.github.com/users/rexxars/received_events","type":"User","site_admin":false},"body":"This PR adds support for the `extends` configuration option, which allows users to extend other configurations.\r\n\r\nThe primary use case I want to address is where you have a coding standard (for instance as an npm package) and want to make small modifications to it, for instance adding plugins or similar. In this case, cascading configurations doesn't help.\r\n\r\nThe PR addresses #1637, where @nzakas said:\r\n> If you want to implement extends, I'd say go for it.\r\n\r\nThis is my first contribution, feedback is appreciated :-)","created_at":"2015-04-24T19:31:16Z","updated_at":"2015-04-25T17:25:49Z","closed_at":"2015-04-25T17:25:49Z","merged_at":"2015-04-25T17:25:49Z","merge_commit_sha":"019cdd9e3896298922476491d5f7c10a4b2832db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eslint/eslint/pulls/2373/commits","review_comments_url":"https://api.github.com/repos/eslint/eslint/pulls/2373/comments","review_comment_url":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2373/comments","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/794034de2bddf2e2b68e62afaa7ca8e7c195b509","head":{"label":"rexxars:extends-config","ref":"extends-config","sha":"794034de2bddf2e2b68e62afaa7ca8e7c195b509","user":{"login":"rexxars","id":48200,"avatar_url":"https://avatars.githubusercontent.com/u/48200?v=3","gravatar_id":"","url":"https://api.github.com/users/rexxars","html_url":"https://github.com/rexxars","followers_url":"https://api.github.com/users/rexxars/followers","following_url":"https://api.github.com/users/rexxars/following{/other_user}","gists_url":"https://api.github.com/users/rexxars/gists{/gist_id}","starred_url":"https://api.github.com/users/rexxars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexxars/subscriptions","organizations_url":"https://api.github.com/users/rexxars/orgs","repos_url":"https://api.github.com/users/rexxars/repos","events_url":"https://api.github.com/users/rexxars/events{/privacy}","received_events_url":"https://api.github.com/users/rexxars/received_events","type":"User","site_admin":false},"repo":{"id":34519816,"name":"eslint","full_name":"rexxars/eslint","owner":{"login":"rexxars","id":48200,"avatar_url":"https://avatars.githubusercontent.com/u/48200?v=3","gravatar_id":"","url":"https://api.github.com/users/rexxars","html_url":"https://github.com/rexxars","followers_url":"https://api.github.com/users/rexxars/followers","following_url":"https://api.github.com/users/rexxars/following{/other_user}","gists_url":"https://api.github.com/users/rexxars/gists{/gist_id}","starred_url":"https://api.github.com/users/rexxars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexxars/subscriptions","organizations_url":"https://api.github.com/users/rexxars/orgs","repos_url":"https://api.github.com/users/rexxars/repos","events_url":"https://api.github.com/users/rexxars/events{/privacy}","received_events_url":"https://api.github.com/users/rexxars/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rexxars/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":true,"url":"https://api.github.com/repos/rexxars/eslint","forks_url":"https://api.github.com/repos/rexxars/eslint/forks","keys_url":"https://api.github.com/repos/rexxars/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rexxars/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rexxars/eslint/teams","hooks_url":"https://api.github.com/repos/rexxars/eslint/hooks","issue_events_url":"https://api.github.com/repos/rexxars/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/rexxars/eslint/events","assignees_url":"https://api.github.com/repos/rexxars/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/rexxars/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/rexxars/eslint/tags","blobs_url":"https://api.github.com/repos/rexxars/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rexxars/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rexxars/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/rexxars/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rexxars/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/rexxars/eslint/languages","stargazers_url":"https://api.github.com/repos/rexxars/eslint/stargazers","contributors_url":"https://api.github.com/repos/rexxars/eslint/contributors","subscribers_url":"https://api.github.com/repos/rexxars/eslint/subscribers","subscription_url":"https://api.github.com/repos/rexxars/eslint/subscription","commits_url":"https://api.github.com/repos/rexxars/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/rexxars/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/rexxars/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/rexxars/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/rexxars/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/rexxars/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rexxars/eslint/merges","archive_url":"https://api.github.com/repos/rexxars/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rexxars/eslint/downloads","issues_url":"https://api.github.com/repos/rexxars/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/rexxars/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/rexxars/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/rexxars/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rexxars/eslint/labels{/name}","releases_url":"https://api.github.com/repos/rexxars/eslint/releases{/id}","created_at":"2015-04-24T13:21:23Z","updated_at":"2015-04-24T13:21:26Z","pushed_at":"2015-04-25T14:45:07Z","git_url":"git://github.com/rexxars/eslint.git","ssh_url":"git@github.com:rexxars/eslint.git","clone_url":"https://github.com/rexxars/eslint.git","svn_url":"https://github.com/rexxars/eslint","homepage":"http://eslint.org","size":4865,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"eslint:master","ref":"master","sha":"a7698099223466c7482437c9d88f8c6920daa54a","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":11061773,"name":"eslint","full_name":"eslint/eslint","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":false,"url":"https://api.github.com/repos/eslint/eslint","forks_url":"https://api.github.com/repos/eslint/eslint/forks","keys_url":"https://api.github.com/repos/eslint/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/eslint/teams","hooks_url":"https://api.github.com/repos/eslint/eslint/hooks","issue_events_url":"https://api.github.com/repos/eslint/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/eslint/events","assignees_url":"https://api.github.com/repos/eslint/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/eslint/tags","blobs_url":"https://api.github.com/repos/eslint/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/eslint/languages","stargazers_url":"https://api.github.com/repos/eslint/eslint/stargazers","contributors_url":"https://api.github.com/repos/eslint/eslint/contributors","subscribers_url":"https://api.github.com/repos/eslint/eslint/subscribers","subscription_url":"https://api.github.com/repos/eslint/eslint/subscription","commits_url":"https://api.github.com/repos/eslint/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslint/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/eslint/merges","archive_url":"https://api.github.com/repos/eslint/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/eslint/downloads","issues_url":"https://api.github.com/repos/eslint/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/eslint/labels{/name}","releases_url":"https://api.github.com/repos/eslint/eslint/releases{/id}","created_at":"2013-06-29T23:59:48Z","updated_at":"2015-04-25T17:23:06Z","pushed_at":"2015-04-25T17:25:49Z","git_url":"git://github.com/eslint/eslint.git","ssh_url":"git@github.com:eslint/eslint.git","clone_url":"https://github.com/eslint/eslint.git","svn_url":"https://github.com/eslint/eslint","homepage":"http://eslint.org","size":16209,"stargazers_count":2038,"watchers_count":2038,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":366,"mirror_url":null,"open_issues_count":142,"forks":366,"open_issues":142,"watchers":2038,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2373"},"html":{"href":"https://github.com/eslint/eslint/pull/2373"},"issue":{"href":"https://api.github.com/repos/eslint/eslint/issues/2373"},"comments":{"href":"https://api.github.com/repos/eslint/eslint/issues/2373/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2373/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslint/eslint/pulls/2373/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/eslint/statuses/794034de2bddf2e2b68e62afaa7ca8e7c195b509"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"comments":4,"review_comments":9,"commits":1,"additions":139,"deletions":1,"changed_files":10}}