Merge pull request #762 from rwhogg/editorconfig

add .editorconfig
This commit is contained in:
Mike McQuaid 2016-08-21 11:28:37 +01:00 committed by GitHub
commit 340e967afa

17
Library/.editorconfig Normal file
View File

@ -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