diff --git a/Library/.editorconfig b/Library/.editorconfig new file mode 100644 index 0000000000..bbd2c927c8 --- /dev/null +++ b/Library/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org +[Homebrew/**.rb] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +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