{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2701","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2701/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2701/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2701/events","html_url":"https://github.com/eslint/eslint/issues/2701","id":85426052,"number":2701,"title":"Expand ~ to the current user's home directory for cli options.","user":{"login":"tupton","id":47334,"avatar_url":"https://avatars.githubusercontent.com/u/47334?v=3","gravatar_id":"","url":"https://api.github.com/users/tupton","html_url":"https://github.com/tupton","followers_url":"https://api.github.com/users/tupton/followers","following_url":"https://api.github.com/users/tupton/following{/other_user}","gists_url":"https://api.github.com/users/tupton/gists{/gist_id}","starred_url":"https://api.github.com/users/tupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tupton/subscriptions","organizations_url":"https://api.github.com/users/tupton/orgs","repos_url":"https://api.github.com/users/tupton/repos","events_url":"https://api.github.com/users/tupton/events{/privacy}","received_events_url":"https://api.github.com/users/tupton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T04:58:41Z","updated_at":"2015-06-05T19:21:48Z","closed_at":null,"body":"So something like `eslint --config=\"~/.eslintrc\" --ignore-dir=\"~/eslintignore\" --rulesdir=\"~/.config/eslint/rules\" --output=\"~/output\"` works as expected and uses files in the user's home directory."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/109411492","html_url":"https://github.com/eslint/eslint/issues/2701#issuecomment-109411492","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2701","id":109411492,"user":{"login":"tupton","id":47334,"avatar_url":"https://avatars.githubusercontent.com/u/47334?v=3","gravatar_id":"","url":"https://api.github.com/users/tupton","html_url":"https://github.com/tupton","followers_url":"https://api.github.com/users/tupton/followers","following_url":"https://api.github.com/users/tupton/following{/other_user}","gists_url":"https://api.github.com/users/tupton/gists{/gist_id}","starred_url":"https://api.github.com/users/tupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tupton/subscriptions","organizations_url":"https://api.github.com/users/tupton/orgs","repos_url":"https://api.github.com/users/tupton/repos","events_url":"https://api.github.com/users/tupton/events{/privacy}","received_events_url":"https://api.github.com/users/tupton/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T19:21:48Z","updated_at":"2015-06-05T19:21:48Z","body":"```\r\n❯ git pull origin master\r\nFrom https://github.com/tupton/eslint\r\n * branch            master     -> FETCH_HEAD\r\nCurrent branch master is up to date.\r\n❯ ./bin/eslint.js --version\r\nv0.22.1\r\n❯ ./bin/eslint.js --config=~/.eslintrc lib/\r\n/Users/tupton/code/eslint/lib/config.js:76\r\n                throw e;\r\n                      ^\r\nError: Cannot read config file: /Users/tupton/code/eslint/~/.eslintrc\r\nError: ENOENT, no such file or directory '/Users/tupton/code/eslint/~/.eslintrc'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:500:18)\r\n    at Object.fs.readFileSync (fs.js:352:15)\r\n    at loadConfig (/Users/tupton/code/eslint/lib/config.js:72:57)\r\n    at new Config (/Users/tupton/code/eslint/lib/config.js:323:34)\r\n    at CLIEngine.executeOnFiles (/Users/tupton/code/eslint/lib/cli-engine.js:303:28)\r\n    at Object.cli.execute (/Users/tupton/code/eslint/lib/cli.js:179:95)\r\n    at Object.<anonymous> (/Users/tupton/code/eslint/bin/eslint.js:32:20)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n```"}}