2018-10-18 00:00:24 +00:00
|
|
|
# http://editorconfig.org
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
2020-05-28 04:27:01 +00:00
|
|
|
[script/*]
|
|
|
|
indent_size = 2
|
2018-10-21 00:12:28 +00:00
|
|
|
|
2020-05-28 04:27:01 +00:00
|
|
|
[*.{yml,yaml}]
|
2019-12-14 00:08:16 +00:00
|
|
|
indent_size = 2
|
2020-05-28 04:27:01 +00:00
|
|
|
|
|
|
|
# Use 2 spaces for Ruby files
|
2020-09-07 17:39:11 +00:00
|
|
|
[{Podfile,Rakefile,script/*,*.{podspec,rb,yml}}]
|
2020-05-28 04:27:01 +00:00
|
|
|
indent_size = 2
|
|
|
|
indent_style = space
|
|
|
|
max_line_length = 80
|
|
|
|
|
|
|
|
# Use tabs for property lists
|
|
|
|
[*.plist]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
# JSON files contain newlines inconsistently
|
|
|
|
[*.json]
|
2024-03-31 13:51:00 +00:00
|
|
|
indent_size = 2
|
2020-05-28 04:27:01 +00:00
|
|
|
insert_final_newline = ignore
|
|
|
|
|
|
|
|
# Makefiles always use tabs for indentation
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
# Trailing spaces have meaning in Markdown
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|