An EditorConfig file helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
Key element of .editorconfig
is that the text of the header is a GLOB that
matches the files the key-value pairs of the section apply to. Therefor,
they must be valid GLOBs.
root = true
[*]
end_of_line = crlf
insert_final_newline = true
charset = utf-8
# Code files
[*.{cs,json}}]
indent_style = space
indent_size = 4
root = true
[*]
end_of_line = crlf
insert_final_newline = true
charset = utf-8
# Code files
[*.{cs,json}]
indent_style = space
indent_size = 4