diff --git a/Library/.editorconfig b/Library/.editorconfig index bbd2c927c8..439f7c93c4 100644 --- a/Library/.editorconfig +++ b/Library/.editorconfig @@ -1,17 +1,17 @@ # http://editorconfig.org -[Homebrew/**.rb] + +root = true + +[*] charset = utf-8 end_of_line = lf indent_style = space indent_size = 2 insert_final_newline = true + +[{Homebrew/**.rb,.simplecov}] trim_trailing_whitespace = true [Taps/homebrew/**.rb] -charset = utf-8 -end_of_line = lf -indent_style = space -indent_size = 2 -insert_final_newline = true # trailing whitespace is crucial for patches trim_trailing_whitespace = false diff --git a/Library/Homebrew/cask/.editorconfig b/Library/Homebrew/cask/.editorconfig deleted file mode 100644 index c6c8b36219..0000000000 --- a/Library/Homebrew/cask/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true