Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 783 Bytes

File metadata and controls

38 lines (31 loc) · 783 Bytes

Proj4050: Header must be a GLOB

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.

Non-compliant

root = true

[*]
end_of_line = crlf
insert_final_newline = true
charset = utf-8

# Code files
[*.{cs,json}}]
indent_style = space
indent_size = 4

Compliant

root = true

[*]
end_of_line = crlf
insert_final_newline = true
charset = utf-8

# Code files
[*.{cs,json}]
indent_style = space
indent_size = 4