|
| 1 | +is_global = true |
| 2 | + |
| 3 | +# .NET Code Style |
| 4 | +# IDE styles reference: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ |
| 5 | + |
| 6 | +# IDE0001: Simplify names |
| 7 | +dotnet_diagnostic.IDE0001.severity = warning |
| 8 | + |
| 9 | +# IDE0002: Simplify member access |
| 10 | +dotnet_diagnostic.IDE0002.severity = warning |
| 11 | + |
| 12 | +# IDE0003: Remove qualification |
| 13 | +dotnet_diagnostic.IDE0003.severity = warning |
| 14 | + |
| 15 | +# IDE0004: Remove unnecessary cast |
| 16 | +dotnet_diagnostic.IDE0004.severity = warning |
| 17 | + |
| 18 | +# IDE0005: Remove unnecessary imports |
| 19 | +dotnet_diagnostic.IDE0005.severity = warning |
| 20 | + |
| 21 | +# IDE0034: Simplify default literal |
| 22 | +dotnet_diagnostic.IDE0034.severity = warning |
| 23 | + |
| 24 | +# IDE0036: Sort modifiers |
| 25 | +dotnet_diagnostic.IDE0036.severity = warning |
| 26 | + |
| 27 | +# IDE0040: Add accessibility modifier |
| 28 | +dotnet_diagnostic.IDE0040.severity = warning |
| 29 | + |
| 30 | +# IDE0049: Use keyword for type name |
| 31 | +dotnet_diagnostic.IDE0040.severity = warning |
| 32 | + |
| 33 | +# IDE0055: Fix formatting |
| 34 | +dotnet_diagnostic.IDE0055.severity = warning |
| 35 | + |
| 36 | +# IDE0051: Private method is unused |
| 37 | +dotnet_diagnostic.IDE0051.severity = silent |
| 38 | + |
| 39 | +# IDE0052: Private member is unused |
| 40 | +dotnet_diagnostic.IDE0052.severity = warning |
| 41 | + |
| 42 | +# IDE0073: File header |
| 43 | +dotnet_diagnostic.IDE0073.severity = warning |
| 44 | + |
| 45 | +# IDE0130: Namespace mismatch with folder |
| 46 | +dotnet_diagnostic.IDE0130.severity = warning |
| 47 | + |
| 48 | +# IDE1006: Naming style |
| 49 | +dotnet_diagnostic.IDE1006.severity = warning |
| 50 | + |
| 51 | +#Disable operator overloads requiring alternate named methods |
| 52 | +dotnet_diagnostic.CA2225.severity = none |
| 53 | + |
| 54 | +# Banned APIs |
| 55 | +dotnet_diagnostic.RS0030.severity = error |
0 commit comments