aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2016-08-22 02:59:50 +0200
committerMarkus Reiter2016-08-22 02:59:50 +0200
commit84820f2c5a92b7a80ef8e56e472fda5694890d72 (patch)
treef722f92108f7162983d96779da5f57662995136f /Library
parent66b7cd350eb799bfdfd5ddb28d9b6034c3cd4554 (diff)
downloadbrew-84820f2c5a92b7a80ef8e56e472fda5694890d72.tar.bz2
Refactor `.editorconfig`.
Diffstat (limited to 'Library')
-rw-r--r--Library/.editorconfig12
-rw-r--r--Library/Homebrew/cask/.editorconfig9
2 files changed, 6 insertions, 15 deletions
diff --git a/Library/.editorconfig b/Library/.editorconfig
index bbd2c927c..439f7c93c 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 c6c8b3621..000000000
--- 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