SERVER-107825: editorconfig for common files (#43105)

GitOrigin-RevId: 17c1b23a99bb217a2239877da312379045f3c8c3
This commit is contained in:
Udita 2025-10-29 13:11:08 -04:00 committed by MongoDB Bot
parent 788089a18d
commit b2fb1e110c
1 changed files with 24 additions and 2 deletions

View File

@ -1,9 +1,31 @@
root = true root = true
[*.sh] [*]
charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = 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_style = space
indent_size = 4 indent_size = 4