You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
#### Define style ####
# All files
[*]
indent_style = space
# C# Project files
[*.csproj]
indent_size = 2
#### Suppress warnings ####
# C# files
[*.cs]
# CA1054: Uri parameters should not be strings
dotnet_diagnostic.CA1054.severity = none # Asp.Net Core uses strings natively, and is easier to manipulate strings
# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = none # I choose if use upper or lower case
# CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
dotnet_diagnostic.CA1515.severity = none # Rises a lot of false positives
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = none # I like underscores into constants name
# CA1812: Avoid uninstantiated internal classes
dotnet_diagnostic.CA1812.severity = none # Doing extensive use of Dependency Injection
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = none # Not needed with .Net Core. More info https://devblogs.microsoft.com/dotnet/configureawait-faq/
# CS1591: Missing XML comment for publicly visible type or member