mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
Cleanup .editorconfig
.
Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
a0c9222813
commit
d2fabf65fa
1 changed files with 18 additions and 26 deletions
|
@ -2,38 +2,30 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[script/*]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_size = 2
|
||||
|
||||
# Use 2 spaces for Ruby files
|
||||
[{Podfile,Rakefile,script/*,*.{podspec,rb,yml}}]
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
max_line_length = 80
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Use tabs for property lists
|
||||
[*.plist]
|
||||
indent_style = tab
|
||||
|
||||
# JSON files contain newlines inconsistently
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
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
|
||||
|
||||
[*.plist]
|
||||
indent_style = tab
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
max_line_length = 80
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
[script/*]
|
||||
indent_size = 2
|
||||
max_line_length = 80
|
||||
|
|
Loading…
Reference in a new issue