From aac4af2b26870355480769c2f324a9ac4fdc1b5f Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Tue, 1 Nov 2016 22:59:39 +0100 Subject: [PATCH] tools: enable final newline in .editorconfig PR-URL: https://github.com/nodejs/node/pull/9410 Fixes: https://github.com/nodejs/node/issues/9402 Reviewed-By: Luigi Pinca Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Gibson Fahnestock Reviewed-By: James M Snell Reviewed-By: Minwoo Jung --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index ca97ab47dfea49..2b0070686f4d5c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,6 +4,7 @@ root = true end_of_line = lf charset = utf-8 trim_trailing_whitespace = true +insert_final_newline = true [vcbuild.bat] end_of_line = crlf @@ -37,3 +38,6 @@ indent_size = ignore end_of_line = ignore trim_trailing_whitespace = ignore charset = ignore + +[{test/fixtures,deps,tools/eslint,tools/gyp,tools/icu,tools/msvs}/**] +insert_final_newline = false