{"action":"created","issue":{"url":"https://api.github.com/repos/jedmao/eclint/issues/28","labels_url":"https://api.github.com/repos/jedmao/eclint/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/jedmao/eclint/issues/28/comments","events_url":"https://api.github.com/repos/jedmao/eclint/issues/28/events","html_url":"https://github.com/jedmao/eclint/issues/28","id":95351350,"number":28,"title":"Empty file brings a wrong warning","user":{"login":"sanemat","id":75448,"avatar_url":"https://avatars.githubusercontent.com/u/75448?v=3","gravatar_id":"","url":"https://api.github.com/users/sanemat","html_url":"https://github.com/sanemat","followers_url":"https://api.github.com/users/sanemat/followers","following_url":"https://api.github.com/users/sanemat/following{/other_user}","gists_url":"https://api.github.com/users/sanemat/gists{/gist_id}","starred_url":"https://api.github.com/users/sanemat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanemat/subscriptions","organizations_url":"https://api.github.com/users/sanemat/orgs","repos_url":"https://api.github.com/users/sanemat/repos","events_url":"https://api.github.com/users/sanemat/events{/privacy}","received_events_url":"https://api.github.com/users/sanemat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T05:06:32Z","updated_at":"2015-07-16T08:02:11Z","closed_at":null,"body":"Is this expected behavior?\r\n```\r\n# .editorconfig\r\ninsert_final_newline = true\r\n\r\n$ touch empty.md\r\n\r\n## Expected\r\n$ eclint check empty.md\r\n(no warning)\r\n# exit code = 0\r\n\r\n## Actual\r\n$ eclint check empty.md\r\nempty.md: expected final newline\r\n# exit code = 1\r\n```\r\n\r\nMy environments:\r\n```\r\neclint v0.2.6\r\nnode.js v0.12.7\r\nOS X 10.9.5\r\n```"},"comment":{"url":"https://api.github.com/repos/jedmao/eclint/issues/comments/121870997","html_url":"https://github.com/jedmao/eclint/issues/28#issuecomment-121870997","issue_url":"https://api.github.com/repos/jedmao/eclint/issues/28","id":121870997,"user":{"login":"jedmao","id":1058243,"avatar_url":"https://avatars.githubusercontent.com/u/1058243?v=3","gravatar_id":"","url":"https://api.github.com/users/jedmao","html_url":"https://github.com/jedmao","followers_url":"https://api.github.com/users/jedmao/followers","following_url":"https://api.github.com/users/jedmao/following{/other_user}","gists_url":"https://api.github.com/users/jedmao/gists{/gist_id}","starred_url":"https://api.github.com/users/jedmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedmao/subscriptions","organizations_url":"https://api.github.com/users/jedmao/orgs","repos_url":"https://api.github.com/users/jedmao/repos","events_url":"https://api.github.com/users/jedmao/events{/privacy}","received_events_url":"https://api.github.com/users/jedmao/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T08:02:11Z","updated_at":"2015-07-16T08:02:11Z","body":"Pretty sure that's expected. I don't think the touch command puts a newline in the file, so it's missing the final newline."}}