{"action":"opened","issue":{"url":"https://api.github.com/repos/angelozerr/tern.java/issues/359","labels_url":"https://api.github.com/repos/angelozerr/tern.java/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/angelozerr/tern.java/issues/359/comments","events_url":"https://api.github.com/repos/angelozerr/tern.java/issues/359/events","html_url":"https://github.com/angelozerr/tern.java/issues/359","id":112618176,"number":359,"title":"[Linting] Extend API to provide original linter message json","user":{"login":"zielu","id":464103,"avatar_url":"https://avatars.githubusercontent.com/u/464103?v=3","gravatar_id":"","url":"https://api.github.com/users/zielu","html_url":"https://github.com/zielu","followers_url":"https://api.github.com/users/zielu/followers","following_url":"https://api.github.com/users/zielu/following{/other_user}","gists_url":"https://api.github.com/users/zielu/gists{/gist_id}","starred_url":"https://api.github.com/users/zielu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zielu/subscriptions","organizations_url":"https://api.github.com/users/zielu/orgs","repos_url":"https://api.github.com/users/zielu/repos","events_url":"https://api.github.com/users/zielu/events{/privacy}","received_events_url":"https://api.github.com/users/zielu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T15:41:10Z","updated_at":"2015-10-21T15:41:10Z","closed_at":null,"body":"Hi, I'm integrating tern.java with IntelliJ and have following usecase:\r\n\r\ntern.server.protocol.lint.ITernLintCollector#addMessage provides generic API for all linters, I'd like to have however access to original linter message i.e. ESLint provides additionally \"ruleId\" and sometimes \"fix\", I would also like to have access to original line & column.\r\n\r\nThis data is needed as I want to use \"ruleId\" to provide quick fixes for some problems.\r\nMaybe linting API could be extended to add flag to TernLintQuery.setReturnOriginalMessage\r\n\r\nAnd then either additional method or one more parameter in collector addMessage that provides original message JsonObject."}}