{"action":"opened","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4582","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4582/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4582/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4582/events","html_url":"https://github.com/eslint/eslint/issues/4582","id":119690656,"number":4582,"title":"Supports to resolve \"~\" sign as home directory in the \"extends\" configuration?","user":{"login":"zbinlin","id":880513,"avatar_url":"https://avatars.githubusercontent.com/u/880513?v=3","gravatar_id":"","url":"https://api.github.com/users/zbinlin","html_url":"https://github.com/zbinlin","followers_url":"https://api.github.com/users/zbinlin/followers","following_url":"https://api.github.com/users/zbinlin/following{/other_user}","gists_url":"https://api.github.com/users/zbinlin/gists{/gist_id}","starred_url":"https://api.github.com/users/zbinlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbinlin/subscriptions","organizations_url":"https://api.github.com/users/zbinlin/orgs","repos_url":"https://api.github.com/users/zbinlin/repos","events_url":"https://api.github.com/users/zbinlin/events{/privacy}","received_events_url":"https://api.github.com/users/zbinlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T10:46:23Z","updated_at":"2015-12-01T10:46:23Z","closed_at":null,"body":"eslint: `v1.8.0`\r\n\r\npwd: `/home/xxx/test`\r\n\r\n`.eslintrc`:\r\n\r\n```json\r\n{\r\n    \"extends\": \"~/.eslintrc\"\r\n}\r\n```\r\n\r\nwhen run `eslint index.js`, it throws an Error:\r\n\r\n```\r\nError: Cannot read config file: /home/xxx/tmp/~/.eslintrc\r\nError: ENOENT: no such file or directory, open '/home/xxx/test/~/.eslintrc'\r\nReferenced from: /home/xxx/test/.eslintrc\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:584:18)\r\n    at Object.fs.readFileSync (fs.js:431:33)\r\n    at readConfigFromFile (/usr/lib/node_modules/eslint/lib/config.js:124:57)\r\n    at loadConfig (/usr/lib/node_modules/eslint/lib/config.js:176:22)\r\n    at /usr/lib/node_modules/eslint/lib/config.js:207:46\r\n    at Array.reduceRight (native)\r\n    at loadConfig (/usr/lib/node_modules/eslint/lib/config.js:191:36)\r\n    at getLocalConfig (/usr/lib/node_modules/eslint/lib/config.js:321:23)\r\n    at Config.getConfig (/usr/lib/node_modules/eslint/lib/config.js:416:22)\r\n```\r\n\r\nCould supports to resolve `~` to home directory?"}}