{"action":"created","issue":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/471","labels_url":"https://api.github.com/repos/nrc/rustfmt/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/nrc/rustfmt/issues/471/comments","events_url":"https://api.github.com/repos/nrc/rustfmt/issues/471/events","html_url":"https://github.com/nrc/rustfmt/pull/471","id":111784239,"number":471,"title":"Lookup of rustfmt.toml file should be relative from input file","user":{"login":"defuz","id":276041,"avatar_url":"https://avatars.githubusercontent.com/u/276041?v=3","gravatar_id":"","url":"https://api.github.com/users/defuz","html_url":"https://github.com/defuz","followers_url":"https://api.github.com/users/defuz/followers","following_url":"https://api.github.com/users/defuz/following{/other_user}","gists_url":"https://api.github.com/users/defuz/gists{/gist_id}","starred_url":"https://api.github.com/users/defuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuz/subscriptions","organizations_url":"https://api.github.com/users/defuz/orgs","repos_url":"https://api.github.com/users/defuz/repos","events_url":"https://api.github.com/users/defuz/events{/privacy}","received_events_url":"https://api.github.com/users/defuz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-16T08:18:34Z","updated_at":"2015-10-23T23:21:00Z","closed_at":"2015-10-23T23:20:54Z","pull_request":{"url":"https://api.github.com/repos/nrc/rustfmt/pulls/471","html_url":"https://github.com/nrc/rustfmt/pull/471","diff_url":"https://github.com/nrc/rustfmt/pull/471.diff","patch_url":"https://github.com/nrc/rustfmt/pull/471.patch"},"body":"For now `rustfmt.toml` file is searched in the current directory and its parents. This PR change this behaviour to start search of config file in the directory of the input file and recursively up to its parents.\r\n\r\nI think it is much more logical and responsible concept of \"project configuration\"."},"comment":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/comments/150714338","html_url":"https://github.com/nrc/rustfmt/pull/471#issuecomment-150714338","issue_url":"https://api.github.com/repos/nrc/rustfmt/issues/471","id":150714338,"user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T23:21:00Z","updated_at":"2015-10-23T23:21:00Z","body":"Awesome, thanks!"}}