{"action":"created","issue":{"url":"https://api.github.com/repos/clutchski/coffeelint/issues/533","labels_url":"https://api.github.com/repos/clutchski/coffeelint/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/clutchski/coffeelint/issues/533/comments","events_url":"https://api.github.com/repos/clutchski/coffeelint/issues/533/events","html_url":"https://github.com/clutchski/coffeelint/issues/533","id":117737667,"number":533,"title":"eol_last: appears broken","user":{"login":"bdkjones","id":926566,"avatar_url":"https://avatars.githubusercontent.com/u/926566?v=3","gravatar_id":"","url":"https://api.github.com/users/bdkjones","html_url":"https://github.com/bdkjones","followers_url":"https://api.github.com/users/bdkjones/followers","following_url":"https://api.github.com/users/bdkjones/following{/other_user}","gists_url":"https://api.github.com/users/bdkjones/gists{/gist_id}","starred_url":"https://api.github.com/users/bdkjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdkjones/subscriptions","organizations_url":"https://api.github.com/users/bdkjones/orgs","repos_url":"https://api.github.com/users/bdkjones/repos","events_url":"https://api.github.com/users/bdkjones/events{/privacy}","received_events_url":"https://api.github.com/users/bdkjones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-19T04:15:24Z","updated_at":"2015-11-19T08:03:41Z","closed_at":null,"body":"If I enable `eol_last`, CoffeeLint tells me that this file does not end with a single newline: \r\n\r\n<img width=\"790\" alt=\"screen shot 2015-11-18 at 20 11 12\" src=\"https://cloud.githubusercontent.com/assets/926566/11262155/aba430d4-8e30-11e5-9e16-4c7cd76d66a3.png\">\r\n\r\nIt very clearly does. And it doesn't matter if I add one additional newline there: CoffeeLint still tells me the file does not end with a single newline. \r\n\r\n### Additional Error:\r\nCoffeeLint reports the line number of this error as 384. The file itself has only 382 lines. (Although in your text editor it *appears* to have 383 because the editor inserts the next line for you to start typing on.) If you count the instances of `\\n`, however, you'll find only 382 in the file.\r\n\r\nThis makes a difference for tools that might use the line number reported by CoffeeLint to do things. The line number needs to be accurate. It's never going to make sense for the reported line number of an error to exceed the number of lines in a file. "},"comment":{"url":"https://api.github.com/repos/clutchski/coffeelint/issues/comments/157984262","html_url":"https://github.com/clutchski/coffeelint/issues/533#issuecomment-157984262","issue_url":"https://api.github.com/repos/clutchski/coffeelint/issues/533","id":157984262,"user":{"login":"bdkjones","id":926566,"avatar_url":"https://avatars.githubusercontent.com/u/926566?v=3","gravatar_id":"","url":"https://api.github.com/users/bdkjones","html_url":"https://github.com/bdkjones","followers_url":"https://api.github.com/users/bdkjones/followers","following_url":"https://api.github.com/users/bdkjones/following{/other_user}","gists_url":"https://api.github.com/users/bdkjones/gists{/gist_id}","starred_url":"https://api.github.com/users/bdkjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdkjones/subscriptions","organizations_url":"https://api.github.com/users/bdkjones/orgs","repos_url":"https://api.github.com/users/bdkjones/repos","events_url":"https://api.github.com/users/bdkjones/events{/privacy}","received_events_url":"https://api.github.com/users/bdkjones/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T08:03:41Z","updated_at":"2015-11-19T08:03:41Z","body":"Does the command line version of CoffeeLint show this behavior when run on the assignments.coffee file?"}}