{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/84","repository_url":"https://api.github.com/repos/AtomLinter/linter-rust","labels_url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/84/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/84/events","html_url":"https://github.com/AtomLinter/linter-rust/pull/84","id":183260974,"number":84,"title":"Added a proper support for `cargo --message-format json`","user":{"login":"White-Oak","id":2813216,"avatar_url":"https://avatars.githubusercontent.com/u/2813216?v=3","gravatar_id":"","url":"https://api.github.com/users/White-Oak","html_url":"https://github.com/White-Oak","followers_url":"https://api.github.com/users/White-Oak/followers","following_url":"https://api.github.com/users/White-Oak/following{/other_user}","gists_url":"https://api.github.com/users/White-Oak/gists{/gist_id}","starred_url":"https://api.github.com/users/White-Oak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/White-Oak/subscriptions","organizations_url":"https://api.github.com/users/White-Oak/orgs","repos_url":"https://api.github.com/users/White-Oak/repos","events_url":"https://api.github.com/users/White-Oak/events{/privacy}","received_events_url":"https://api.github.com/users/White-Oak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-16T10:59:45Z","updated_at":"2016-10-24T20:36:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-rust/pulls/84","html_url":"https://github.com/AtomLinter/linter-rust/pull/84","diff_url":"https://github.com/AtomLinter/linter-rust/pull/84.diff","patch_url":"https://github.com/AtomLinter/linter-rust/pull/84.patch"},"body":"Massively refactored code, so the error mode behaviour is less dependent on conditions and more polymorphic.\r\n\r\nI've tested this in all five modes that `linter-rust` currently supports:\r\n* Old rustc plain-text messages\r\n* Old cargo plain-text messages\r\n* Rustc json errors\r\n* Intermediate cargo json errors, enabled by `RUSTFLAGS`, that caused several problems and only enabled for a short ammount of time from AUgust to October 2016\r\n* Proper cargo json errors enabled by `--message-format json`, that are introduced by this PR\r\n\r\nIn short, I split the linter in two files: `linter-rust.coffee` and `mode.coffee`. The latter is now responsible on mode-specific interactions such as error parsing, arguments generating. \r\n\r\nFixes #77.\r\n\r\nAs far as I tested it, it works, but I, probably, need some review on code."},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/comments/255858367","html_url":"https://github.com/AtomLinter/linter-rust/pull/84#issuecomment-255858367","issue_url":"https://api.github.com/repos/AtomLinter/linter-rust/issues/84","id":255858367,"user":{"login":"White-Oak","id":2813216,"avatar_url":"https://avatars.githubusercontent.com/u/2813216?v=3","gravatar_id":"","url":"https://api.github.com/users/White-Oak","html_url":"https://github.com/White-Oak","followers_url":"https://api.github.com/users/White-Oak/followers","following_url":"https://api.github.com/users/White-Oak/following{/other_user}","gists_url":"https://api.github.com/users/White-Oak/gists{/gist_id}","starred_url":"https://api.github.com/users/White-Oak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/White-Oak/subscriptions","organizations_url":"https://api.github.com/users/White-Oak/orgs","repos_url":"https://api.github.com/users/White-Oak/repos","events_url":"https://api.github.com/users/White-Oak/events{/privacy}","received_events_url":"https://api.github.com/users/White-Oak/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T20:36:03Z","updated_at":"2016-10-24T20:36:03Z","body":"@colin-kiegel thanks for the input! Yes, I think it's what we should go with. I've been reluctant to add another option, since I know people are sometimes confused with a number of options, but I hope 10 options is not a really big deal.."}}
{"actor":{"display_login":"White-Oak"}}