aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-08-21 11:28:37 +0100
committerGitHub2016-08-21 11:28:37 +0100
commit340e967afa22fe740b36bbb4e162644d2156a02d (patch)
tree3a07380fed5ff683aa3791ef7e3a8128e52cff60 /Library
parent7c83d441150580a302b6420edd3a5497a6fa2eb3 (diff)
parent959099d0e7c7d414cdadaf04278d17833abb9cc1 (diff)
downloadbrew-340e967afa22fe740b36bbb4e162644d2156a02d.tar.bz2
Merge pull request #762 from rwhogg/editorconfig
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