mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Refactor .editorconfig
.
This commit is contained in:
parent
66b7cd350e
commit
84820f2c5a
@ -1,17 +1,17 @@
|
|||||||
# http://editorconfig.org
|
# http://editorconfig.org
|
||||||
[Homebrew/**.rb]
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[{Homebrew/**.rb,.simplecov}]
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[Taps/homebrew/**.rb]
|
[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
|
# trailing whitespace is crucial for patches
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user