{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/rfcs/issues/5","repository_url":"https://api.github.com/repos/eslint/rfcs","labels_url":"https://api.github.com/repos/eslint/rfcs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/eslint/rfcs/issues/5/comments","events_url":"https://api.github.com/repos/eslint/rfcs/issues/5/events","html_url":"https://github.com/eslint/rfcs/pull/5","id":386685687,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MzQ2Mjgx","number":5,"title":"New: Load configs and plugins relative to where they're referenced","user":{"login":"not-an-aardvark","id":11638619,"node_id":"MDQ6VXNlcjExNjM4NjE5","avatar_url":"https://avatars2.githubusercontent.com/u/11638619?v=4","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"labels":[{"id":1122755151,"node_id":"MDU6TGFiZWwxMTIyNzU1MTUx","url":"https://api.github.com/repos/eslint/rfcs/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-03T07:08:30Z","updated_at":"2018-12-13T17:21:20Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/eslint/rfcs/pulls/5","html_url":"https://github.com/eslint/rfcs/pull/5","diff_url":"https://github.com/eslint/rfcs/pull/5.diff","patch_url":"https://github.com/eslint/rfcs/pull/5.patch"},"body":"This is the same proposal as https://github.com/eslint/eslint/issues/10643, now in RFC form. A significant amount of detail has been added that wasn't present in https://github.com/eslint/eslint/issues/10643 (just about everything starting at the \"Documentation\" section is new, as well as a few minor additions and restructuring before that).\r\n\r\n## Summary\r\n\r\nThis feature would update ESLint to plugins and shareable configs relative to the location of the config files where they're referenced, rather than relative to the location of the running ESLint instance. As a result, configs would be able to specify plugins as their own dependencies, and ESLint users would see fewer confusing errors about missing plugins.\r\n\r\n## Related Issues\r\n\r\n* [eslint/eslint#3458](https://github.com/eslint/eslint/issues/3458)\r\n* [eslint/eslint#6732](https://github.com/eslint/eslint/issues/6732)\r\n* [eslint/eslint#9897](https://github.com/eslint/eslint/issues/9897)\r\n* [eslint/eslint#10125](https://github.com/eslint/eslint/issues/10125)\r\n* [eslint/eslint#10643](https://github.com/eslint/eslint/issues/10643)"},"comment":{"url":"https://api.github.com/repos/eslint/rfcs/issues/comments/447050590","html_url":"https://github.com/eslint/rfcs/pull/5#issuecomment-447050590","issue_url":"https://api.github.com/repos/eslint/rfcs/issues/5","id":447050590,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzA1MDU5MA==","user":{"login":"nzakas","id":38546,"node_id":"MDQ6VXNlcjM4NTQ2","avatar_url":"https://avatars3.githubusercontent.com/u/38546?v=4","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},"created_at":"2018-12-13T17:21:20Z","updated_at":"2018-12-13T17:21:20Z","author_association":"MEMBER","body":"I think that seems like a reasonable change in behavior (and arguably, people installing ESLint globally might expect this to be the behavior). I'd be 👍 for splitting this out into a separate RFC with the pros/cons outlined. I have other questions, but don't want to muddy the discussion on this RFC with them."}}
{"actor":{"display_login":"nzakas"}}