mirror of https://github.com/mongodb/mongo
SERVER-107825: editorconfig for common files (#43105)
GitOrigin-RevId: 17c1b23a99bb217a2239877da312379045f3c8c3
This commit is contained in:
parent
788089a18d
commit
b2fb1e110c
|
|
@ -1,9 +1,31 @@
|
|||
root = true
|
||||
|
||||
[*.sh]
|
||||
charset = utf-8
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.sh]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.yaml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{c++,cc,cpp,cxx,h,h++,hh,hpp,hxx,inl,ipp,tlh,tli}]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
cpp_indent_braces = false
|
||||
|
||||
[*.{js,jsx,ts,tsx}]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
|
|||
Loading…
Reference in New Issue