{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6489","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6489/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6489/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6489/events","html_url":"https://github.com/eslint/eslint/issues/6489","id":161337794,"number":6489,"title":"regression in 2.13.0 release - relative extend fails to find referenced file","user":{"login":"travi","id":126441,"avatar_url":"https://avatars.githubusercontent.com/u/126441?v=3","gravatar_id":"","url":"https://api.github.com/users/travi","html_url":"https://github.com/travi","followers_url":"https://api.github.com/users/travi/followers","following_url":"https://api.github.com/users/travi/following{/other_user}","gists_url":"https://api.github.com/users/travi/gists{/gist_id}","starred_url":"https://api.github.com/users/travi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travi/subscriptions","organizations_url":"https://api.github.com/users/travi/orgs","repos_url":"https://api.github.com/users/travi/repos","events_url":"https://api.github.com/users/travi/events{/privacy}","received_events_url":"https://api.github.com/users/travi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-21T02:39:27Z","updated_at":"2016-06-21T16:56:56Z","closed_at":null,"body":"<!--\r\nThis template is for bug reports. If you are reporting a bug, please continue on. If you are here for another reason, please see below:\r\n\r\n1. To propose a new rule: http://eslint.org/docs/developer-guide/contributing/new-rules\r\n2. To request a change: http://eslint.org/docs/developer-guide/contributing/changes\r\n3. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\nNote that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\nAfter the release of `2.13.0`, projects consuming my personal eslint-config can no longer successfully load the chain of extends. It would appear that this issue is related to #6450, but the fix for that specific issue (released in `2.13.1`) does not appear to resolve this issue.\r\n\r\n**What version of ESLint are you using?**\r\n2.13.1 \r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\n[grunt-eslint](https://github.com/sindresorhus/grunt-eslint)\r\n\r\n**Please show your full configuration:**\r\n* [config file from consuming project](https://github.com/travi/admin.travi.org-components/blob/master/test/unit/.eslintrc.yml#L3)\r\n* [initially included ruleset from my config](https://github.com/travi/eslint-config-travi/blob/master/rules/tests/react.js#L2) (references another file from the config project relative to itself)\r\n* [file that should be extended from the initial extension](https://github.com/travi/eslint-config-travi/blob/master/rules/react.js)\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\nNo eslint related changes were made directly to my projects. I do not track a direct dependency on `eslint` in the projects that use `grunt-eslint`, and `grunt-eslint` [depends on `^2.0.0`](https://github.com/sindresorhus/grunt-eslint/blob/master/package.json#L33).  Since I do not have travis-ci configured to cache dependencies between builds, when it built contributions after `2.13.0` was released it was immediately pulled into the next build and caused it to fail.\r\n\r\n**What did you expect to happen?**\r\nI expected that the `^2.0.0` range would be safe from breaking changes and not require my projects to depend on a specific `eslint` version since I do not depend directly on `eslint`, but rather depend on it only through `grunt-eslint`.\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\nhttps://travis-ci.org/travi/admin.travi.org-components/jobs/138631754\r\n```\r\nRunning \"eslint:target\" (eslint) task\r\nWarning: Cannot read config file: /home/travis/build/travi/admin.travi.org-components/node_modules/@travi/eslint-config-travi/rules/react\r\nError: ENOENT: no such file or directory, open '/home/travis/build/travi/admin.travi.org-components/node_modules/@travi/eslint-config-travi/rules/react'\r\nReferenced from: @travi/travi/rules/tests/react\r\nReferenced from: /home/travis/build/travi/admin.travi.org-components/test/unit/.eslintrc.yml\u0007 Use --force to continue.\r\nAborted due to warnings.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/227503063","html_url":"https://github.com/eslint/eslint/issues/6489#issuecomment-227503063","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6489","id":227503063,"user":{"login":"travi","id":126441,"avatar_url":"https://avatars.githubusercontent.com/u/126441?v=3","gravatar_id":"","url":"https://api.github.com/users/travi","html_url":"https://github.com/travi","followers_url":"https://api.github.com/users/travi/followers","following_url":"https://api.github.com/users/travi/following{/other_user}","gists_url":"https://api.github.com/users/travi/gists{/gist_id}","starred_url":"https://api.github.com/users/travi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travi/subscriptions","organizations_url":"https://api.github.com/users/travi/orgs","repos_url":"https://api.github.com/users/travi/repos","events_url":"https://api.github.com/users/travi/events{/privacy}","received_events_url":"https://api.github.com/users/travi/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T16:56:56Z","updated_at":"2016-06-21T16:56:56Z","body":"I'm fine with adding the extension into the config. It was just a confusion point that I stumbled on because I modeled the `extends` reference in the config after the one I was used to in the `.eslintrc.yml` files in consumers that did not use extensions. Since it worked pre-2.13, I had no idea that it was not \"correct\"."}}
{"actor":{"display_login":"travi"}}