aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBob W. Hogg2016-08-19 23:47:50 -0400
committerBob W. Hogg2016-08-19 23:47:50 -0400
commit959099d0e7c7d414cdadaf04278d17833abb9cc1 (patch)
tree40d310e1844a693c505a0217a0102bc2b087c9e9 /Library
parent7395ff20018785bed7d008337b7cf98781190e0a (diff)
downloadbrew-959099d0e7c7d414cdadaf04278d17833abb9cc1.tar.bz2
add .editorconfig
Diffstat (limited to 'Library')
-rw-r--r--Library/.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/.editorconfig b/Library/.editorconfig
new file mode 100644
index 000000000..bbd2c927c
--- /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