I am trying to enforce the IDE0300 in a C# project. in the .editorconfig
file located at the root of my solution, I added the following
root = true
[*]
end_of_line = crlf
charset = utf-8
indent_style = space
indent_size = 4
[*.{json,yml,csproj,props,targets}]
indent_size = 2
[*.cs]
dotnet_diagnostic.IDE0300.severity = error
dotnet_analyzer_diagnostic.category-Style.severity = error
Running the dotnet build
still build with no issues even when my project has lots of IDE0300 suggestions