From b080a83b98c48ce36acde7b52326d23891027997 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 6 Jan 2016 12:06:48 +1300 Subject: [PATCH] MINOR: Supress whitespace cleanup in thirdparty folders. The whitespace cleanup specified by editorconfig shouldn't happen on thirdparty files, as these should be left alone. --- .editorconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.editorconfig b/.editorconfig index 8b8edb1d7..a133be8b2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,3 +16,13 @@ trim_trailing_whitespace = false [*.yml] indent_size = 2 indent_style = space + +# Don't perform any clean-up on thirdparty files + +[thirdparty/**] +trim_trailing_whitespace = false +insert_final_newline = false + +[admin/thirdparty/**] +trim_trailing_whitespace = false +insert_final_newline = false