{"action":"created","issue":{"url":"https://api.github.com/repos/markstory/lint-review/issues/95","repository_url":"https://api.github.com/repos/markstory/lint-review","labels_url":"https://api.github.com/repos/markstory/lint-review/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/markstory/lint-review/issues/95/comments","events_url":"https://api.github.com/repos/markstory/lint-review/issues/95/events","html_url":"https://github.com/markstory/lint-review/issues/95","id":151049432,"number":95,"title":"JSON linter not commenting on the correct line","user":{"login":"adrianmoisey","id":736329,"avatar_url":"https://avatars.githubusercontent.com/u/736329?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianmoisey","html_url":"https://github.com/adrianmoisey","followers_url":"https://api.github.com/users/adrianmoisey/followers","following_url":"https://api.github.com/users/adrianmoisey/following{/other_user}","gists_url":"https://api.github.com/users/adrianmoisey/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianmoisey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianmoisey/subscriptions","organizations_url":"https://api.github.com/users/adrianmoisey/orgs","repos_url":"https://api.github.com/users/adrianmoisey/repos","events_url":"https://api.github.com/users/adrianmoisey/events{/privacy}","received_events_url":"https://api.github.com/users/adrianmoisey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T06:12:08Z","updated_at":"2016-04-26T08:27:35Z","closed_at":null,"body":"``` shell\r\n$ cat test.json\r\n{\r\n  \"one\": \"value\",\r\n  \"two\": 2,\r\n  \"three\": \"three\",\r\n}\r\n$ jsonlint test.json\r\ntest.json:5:0: Warning: Strict JSON does not allow a final comma in an object (dictionary) literal\r\n   |  At line 5, column 0, offset 52\r\n   |  Object started at line 1, column 0, offset 0 (AT-START)\r\ntest.json: ok, with warnings\r\n```\r\n\r\nIf `\"three\": \"three\"` was added in the PR, lintreview wouldn't comment on this error, as it reports the error 1 line down.\r\n\r\nI'm not sure what the solution so this problem is."},"comment":{"url":"https://api.github.com/repos/markstory/lint-review/issues/comments/214666564","html_url":"https://github.com/markstory/lint-review/issues/95#issuecomment-214666564","issue_url":"https://api.github.com/repos/markstory/lint-review/issues/95","id":214666564,"user":{"login":"zoidbergwill","id":2572493,"avatar_url":"https://avatars.githubusercontent.com/u/2572493?v=3","gravatar_id":"","url":"https://api.github.com/users/zoidbergwill","html_url":"https://github.com/zoidbergwill","followers_url":"https://api.github.com/users/zoidbergwill/followers","following_url":"https://api.github.com/users/zoidbergwill/following{/other_user}","gists_url":"https://api.github.com/users/zoidbergwill/gists{/gist_id}","starred_url":"https://api.github.com/users/zoidbergwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoidbergwill/subscriptions","organizations_url":"https://api.github.com/users/zoidbergwill/orgs","repos_url":"https://api.github.com/users/zoidbergwill/repos","events_url":"https://api.github.com/users/zoidbergwill/events{/privacy}","received_events_url":"https://api.github.com/users/zoidbergwill/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T08:27:34Z","updated_at":"2016-04-26T08:27:34Z","body":"I guess this is a JSON issue, and not a `jsonlint` issue, but maybe we should switch to the [npm-installable one](https://github.com/zaach/jsonlint):\r\n\r\n```\r\n± cat test.json\r\n{\r\n  \"one\": \"value\",\r\n  \"two\": 2,\r\n  \"three\": \"three\",\r\n}\r\n± jsonlint -c test.json\r\ntest.json: line 4, col 19, found: '}' - expected: 'STRING'.\r\n```"}}