EditorConfig

A plain-text .editorconfig file that records a repository's coding style, and in .NET also the severity of each analyzer rule, for editors and the build to apply.

In more detail

root = true stops editors merging settings from parent folders. Sections such as [*.cs] apply only to matching files, and dotnet_diagnostic.CA2000.severity = warning sets one rule's severity.

Example

dotnet_diagnostic.CA2000.severity = warning

Related terms

Taught in

References