{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2993","labels_url":"https://api.github.com/repos/nodejs/node/issues/2993/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2993/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2993/events","html_url":"https://github.com/nodejs/node/pull/2993","id":107639811,"number":2993,"title":"Added .editorconfig file for basic encoding/indentation enforcement","user":{"login":"ronkorving","id":631240,"avatar_url":"https://avatars.githubusercontent.com/u/631240?v=3","gravatar_id":"","url":"https://api.github.com/users/ronkorving","html_url":"https://github.com/ronkorving","followers_url":"https://api.github.com/users/ronkorving/followers","following_url":"https://api.github.com/users/ronkorving/following{/other_user}","gists_url":"https://api.github.com/users/ronkorving/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorving/subscriptions","organizations_url":"https://api.github.com/users/ronkorving/orgs","repos_url":"https://api.github.com/users/ronkorving/repos","events_url":"https://api.github.com/users/ronkorving/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorving/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/meta","name":"meta","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-22T03:42:10Z","updated_at":"2015-10-14T18:18:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/2993","html_url":"https://github.com/nodejs/node/pull/2993","diff_url":"https://github.com/nodejs/node/pull/2993.diff","patch_url":"https://github.com/nodejs/node/pull/2993.patch"},"body":"This helps editors (see http://editorconfig.org/#download) to apply the right indentation, end-of-line characters, and encoding rules to files of any type (extension) directly and without going through linters, etc. I can imagine some of the contents of this PR may need tweaking, so feedback is most appreciated."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/148143199","html_url":"https://github.com/nodejs/node/pull/2993#issuecomment-148143199","issue_url":"https://api.github.com/repos/nodejs/node/issues/2993","id":148143199,"user":{"login":"silverwind","id":115237,"avatar_url":"https://avatars.githubusercontent.com/u/115237?v=3","gravatar_id":"","url":"https://api.github.com/users/silverwind","html_url":"https://github.com/silverwind","followers_url":"https://api.github.com/users/silverwind/followers","following_url":"https://api.github.com/users/silverwind/following{/other_user}","gists_url":"https://api.github.com/users/silverwind/gists{/gist_id}","starred_url":"https://api.github.com/users/silverwind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverwind/subscriptions","organizations_url":"https://api.github.com/users/silverwind/orgs","repos_url":"https://api.github.com/users/silverwind/repos","events_url":"https://api.github.com/users/silverwind/events{/privacy}","received_events_url":"https://api.github.com/users/silverwind/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T18:18:15Z","updated_at":"2015-10-14T18:18:15Z","body":"Hmm, not sure about that or if there even es a specific issue about CRLF with bat files, but we're pretty inconsistent here it seems:\r\n\r\n```\r\n$ file $(find . -name \"*.bat*\")\r\n./deps/uv/docs/make.bat:                                  DOS batch file, ASCII text, with CRLF line terminators\r\n./deps/uv/vcbuild.bat:                                    DOS batch file, ASCII text, with CRLF line terminators\r\n./deps/npm/make.bat:                                      ASCII text\r\n./deps/npm/node_modules/node-gyp/gyp/gyp.bat:             DOS batch file, ASCII text, with CRLF line terminators\r\n./deps/npm/node_modules/node-gyp/gyp/samples/samples.bat: DOS batch file, ASCII text, with CRLF line terminators\r\n./deps/openssl/openssl/ms/testss.bat:                     DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/mingw32.bat:                    DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/do_win64a.bat:                  ASCII text\r\n./deps/openssl/openssl/ms/x86asm.bat:                     ASCII text\r\n./deps/openssl/openssl/ms/tpem.bat:                       ASCII text\r\n./deps/openssl/openssl/ms/mw.bat:                         DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/testce.bat:                     DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/test.bat:                       DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/testssce.bat:                   ASCII text\r\n./deps/openssl/openssl/ms/tencce.bat:                     ASCII text\r\n./deps/openssl/openssl/ms/speed32.bat:                    ASCII text\r\n./deps/openssl/openssl/ms/testpem.bat:                    DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/do_nt.bat:                      ASCII text\r\n./deps/openssl/openssl/ms/do_ms.bat:                      ASCII text\r\n./deps/openssl/openssl/ms/do_win64i.bat:                  ASCII text\r\n./deps/openssl/openssl/ms/testencce.bat:                  DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/testenc.bat:                    DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/tenc.bat:                       ASCII text\r\n./deps/openssl/openssl/ms/32all.bat:                      ASCII text\r\n./deps/openssl/openssl/ms/testpemce.bat:                  DOS batch file, ASCII text\r\n./deps/openssl/openssl/ms/do_nasm.bat:                    ASCII text\r\n./deps/openssl/openssl/ms/bcb4.bat:                       ASCII text\r\n./deps/openssl/openssl/ms/testce2.bat:                    ASCII text\r\n./deps/openssl/openssl/ms/tpemce.bat:                     ASCII text\r\n./deps/openssl/openssl/engines/capierr.bat:               ASCII text\r\n./deps/openssl/openssl/crypto/threads/win32.bat:          ASCII text\r\n./deps/openssl/openssl/crypto/threads/ptest.bat:          ASCII text\r\n./deps/openssl/openssl/crypto/threads/netware.bat:        DOS batch file, ASCII text\r\n./deps/openssl/openssl/shlib/win32dll.bat:                ASCII text\r\n./deps/openssl/openssl/shlib/win32.bat:                   ASCII text\r\n./deps/openssl/openssl/Netware/build.bat:                 DOS batch file, ASCII text\r\n./deps/openssl/openssl/Netware/cpy_tests.bat:             DOS batch file, ASCII text\r\n./deps/openssl/openssl/Netware/set_env.bat:               DOS batch file, ASCII text\r\n./deps/v8/tools/windows-tick-processor.bat:               DOS batch file, ASCII text\r\n./deps/zlib/contrib/masmx86/bld_ml32.bat:                 ASCII text\r\n./deps/zlib/contrib/masmx64/bld_ml64.bat:                 ASCII text\r\n./tools/msvs/nodevars.bat:                                DOS batch file, ASCII text\r\n./tools/gyp/gyp.bat:                                      DOS batch file, ASCII text, with CRLF line terminators\r\n./tools/gyp/samples/samples.bat:                          DOS batch file, ASCII text, with CRLF line terminators\r\n./vcbuild.bat:                                            DOS batch file, ASCII text, with very long lines, with CRLF line terminators\r\n```"}}