{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/578","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/578/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/578/events","html_url":"https://github.com/flycheck/flycheck/issues/578","id":55630047,"number":578,"title":"jshint checkstyle output produces invalid \"column 0\" errors","user":{"login":"purcell","id":5636,"avatar_url":"https://avatars.githubusercontent.com/u/5636?v=3","gravatar_id":"","url":"https://api.github.com/users/purcell","html_url":"https://github.com/purcell","followers_url":"https://api.github.com/users/purcell/followers","following_url":"https://api.github.com/users/purcell/following{/other_user}","gists_url":"https://api.github.com/users/purcell/gists{/gist_id}","starred_url":"https://api.github.com/users/purcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purcell/subscriptions","organizations_url":"https://api.github.com/users/purcell/orgs","repos_url":"https://api.github.com/users/purcell/repos","events_url":"https://api.github.com/users/purcell/events{/privacy}","received_events_url":"https://api.github.com/users/purcell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/flycheck/flycheck/labels/checker","name":"checker","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T15:14:58Z","updated_at":"2015-01-27T19:36:17Z","closed_at":null,"body":"Running the latest jshint from npm (v2.1.10) I see warnings with the column number zero:\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<checkstyle version=\"4.3\">\r\n\t<file name=\"app.js\">\r\n\t\t<error line=\"38\" column=\"53\" severity=\"error\" message=\"Missing semicolon.\" source=\"jshint.W033\" />\r\n\t\t<error line=\"38\" column=\"54\" severity=\"error\" message=\"Missing semicolon.\" source=\"jshint.W033\" />\r\n\t\t<error line=\"38\" column=\"0\" severity=\"warning\" message=\"Implied global &apos;console&apos;\" source=\"jshint.implied-globals\" />\r\n\t\t<error line=\"16\" column=\"0\" severity=\"warning\" message=\"Unused variable: &apos;ctrl&apos;\" source=\"jshint.implied-unuseds\" />\r\n\t</file>\r\n</checkstyle>\r\n```\r\n\r\nThis leads to errors getting highlighted on the prior line (37 in this case).\r\n\r\nI'm *guessing* this is a problem upstream, since the columns \"53\" and \"54\" above lead to flycheck highlighting what I would consider the logical buffer locations -- just thought I'd post it here first, in case you have any insights."},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/71712605","html_url":"https://github.com/flycheck/flycheck/issues/578#issuecomment-71712605","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/578","id":71712605,"user":{"login":"purcell","id":5636,"avatar_url":"https://avatars.githubusercontent.com/u/5636?v=3","gravatar_id":"","url":"https://api.github.com/users/purcell","html_url":"https://github.com/purcell","followers_url":"https://api.github.com/users/purcell/followers","following_url":"https://api.github.com/users/purcell/following{/other_user}","gists_url":"https://api.github.com/users/purcell/gists{/gist_id}","starred_url":"https://api.github.com/users/purcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purcell/subscriptions","organizations_url":"https://api.github.com/users/purcell/orgs","repos_url":"https://api.github.com/users/purcell/repos","events_url":"https://api.github.com/users/purcell/events{/privacy}","received_events_url":"https://api.github.com/users/purcell/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T19:36:17Z","updated_at":"2015-01-27T19:36:17Z","body":"That gives this result:\r\n\r\n![screen shot 2015-01-27 at 19 34 19](https://cloud.githubusercontent.com/assets/5636/5925454/8af90552-a65b-11e4-9a1e-128594808baf.PNG)\r\n\r\nSo it fixes the 2 misplaced warnings, but I'm thinking that column 12 looks more \"correct\" for the \"missing semicolon\" warning than column 11. I should try a couple more example errors to see what it does..."}}