{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/qulice/issues/522","labels_url":"https://api.github.com/repos/teamed/qulice/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/teamed/qulice/issues/522/comments","events_url":"https://api.github.com/repos/teamed/qulice/issues/522/events","html_url":"https://github.com/teamed/qulice/issues/522","id":122350962,"number":522,"title":"NewlineAtEndOfFile does not work for files other than Java","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T19:45:32Z","updated_at":"2015-12-16T13:20:02Z","closed_at":"2015-12-16T13:20:02Z","body":"Good practice is to end all source and text files with newline. A text file under Unix, consists of a series of lines, each of which ending with a newline character (`\\n`). It is required by POSIX standard:\r\n* http://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline\r\n\r\nCurrently Qulice checks [only Java files](https://github.com/teamed/qulice/blob/master/qulice-checkstyle/src/main/resources/com/qulice/checkstyle/checks.xml#L50) according to this rule:\r\n```xml\r\n    <module name=\"NewlineAtEndOfFile\">\r\n        <property name=\"fileExtensions\" value=\"java\"/>\r\n        <property name=\"lineSeparator\" value=\"lf\"/>\r\n    </module>\r\n```\r\n\r\nThis should be extended to handle all typical extensions that are known to be text-based files in typical Maven projects."},"comment":{"url":"https://api.github.com/repos/teamed/qulice/issues/comments/165101829","html_url":"https://github.com/teamed/qulice/issues/522#issuecomment-165101829","issue_url":"https://api.github.com/repos/teamed/qulice/issues/522","id":165101829,"user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T13:20:02Z","updated_at":"2015-12-16T13:20:02Z","body":"@krzyk merged with #521 "}}