Proj4010: Sections should contain at least one key-value pair

An INI file is a plain text file with a structure and syntax comprising key–value pairs organized in sections.

Sections without any key-value pairs defined, however, have no meaning.

Non-compliant

root = true

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

[*.cs]

[*.{cs,json,cshtml,ts}]
indent_style = space
indent_size = 4

[*.{csproj,props,targets,config,nuspec}]
indent_style = space
indent_size = 2

Compliant

root = true

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

[*.{cs,json,cshtml,ts}]
indent_style = space
indent_size = 4

[*.{csproj,props,targets,config,nuspec}]
indent_style = space
indent_size = 2