@@ -44,18 +44,22 @@ generated_code = true
4444# XML project files
4545[* .{slnx,csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,nativeproj,locproj} ]
4646indent_size = 2
47+ max_line_length = 200
4748
4849# Xml build files
4950[* .builds ]
5051indent_size = 2
52+ max_line_length = 200
5153
5254# Xml files
5355[* .{xml,stylecop,resx,ruleset} ]
5456indent_size = 2
57+ max_line_length = 200
5558
5659# XML config files
5760[* .{props,targets,ruleset,config,nuspec,vsixmanifest,vsct} ]
5861indent_size = 2
62+ max_line_length = 200
5963
6064# JSON files
6165[* .json ]
@@ -86,10 +90,6 @@ insert_final_newline = false
8690[* .sln ]
8791indent_style = tab
8892
89- [* .{received,verified}.txt ]
90- insert_final_newline = false
91- trim_trailing_whitespace = false
92-
9393[* .{cs,csx,vb,vbx} ]
9494# .NET Code Style Settings
9595# See https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
@@ -266,19 +266,18 @@ dotnet_diagnostic.IDE0290.severity = sugges
266266# [CSharpier] Incompatible rules deactivated
267267# https://csharpier.com/docs/IntegratingWithLinters#code-analysis-rules
268268dotnet_diagnostic.IDE0055.severity = none
269- dotnet_diagnostic.SA1000.severity = none
270- dotnet_diagnostic.SA1009.severity = none
271- dotnet_diagnostic.SA1111.severity = none
272- dotnet_diagnostic.SA1118.severity = none
273- dotnet_diagnostic.SA1137.severity = none
274- dotnet_diagnostic.SA1413.severity = none
275- dotnet_diagnostic.SA1500.severity = none
276- dotnet_diagnostic.SA1501.severity = none
277- dotnet_diagnostic.SA1502.severity = none
278- dotnet_diagnostic.SA1504.severity = none
279- dotnet_diagnostic.SA1515.severity = none
280- dotnet_diagnostic.SA1516.severity = none
281269
282270# Support for NetEvolve.Arguments Methods
283271# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1062#null-check-validation-methods
284272dotnet_code_quality.CA1062.null_check_validation_methods = M:NetEvolve.Arguments.Argument.ThrowIfNull(System.Object,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNull(System.Void*,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrEmpty(System.String,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrEmpty``1(System.Collections.Generic.IEnumerable{``0},System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrWhiteSpace(System.String,System.String)
273+
274+ # Disable all style rules for generated code
275+ [* .{received,verified}.* ]
276+ generated_code = true
277+ # Disable all style rules for migrations
278+ dotnet_analyzer_diagnostic.severity = none
279+
280+ [** /Migrations/* .{cs,csx,vb,vbx} ]
281+ generated_code = true
282+ # Disable all style rules for migrations
283+ dotnet_analyzer_diagnostic.severity = none
0 commit comments