|
| 1 | +# EditorConfig for AzureEventGridSimulator |
| 2 | +# https://editorconfig.org |
| 3 | + |
| 4 | +root = true |
| 5 | + |
| 6 | +[*] |
| 7 | +indent_style = space |
| 8 | +indent_size = 4 |
| 9 | +end_of_line = lf |
| 10 | +charset = utf-8 |
| 11 | +trim_trailing_whitespace = true |
| 12 | +insert_final_newline = true |
| 13 | + |
| 14 | +[*.cs] |
| 15 | +# Meziantou.Analyzer rules - downgrade to suggestions for existing code |
| 16 | +# These can be gradually fixed over time |
| 17 | + |
| 18 | +# MA0002: Use an overload that has a IEqualityComparer<string> or IComparer<string> parameter |
| 19 | +dotnet_diagnostic.MA0002.severity = suggestion |
| 20 | + |
| 21 | +# MA0004: Use Task.ConfigureAwait(false) |
| 22 | +# Not needed in ASP.NET Core applications |
| 23 | +dotnet_diagnostic.MA0004.severity = none |
| 24 | + |
| 25 | +# MA0006: Use string.Equals instead of == operator |
| 26 | +dotnet_diagnostic.MA0006.severity = suggestion |
| 27 | + |
| 28 | +# MA0011: Use overload with IFormatProvider |
| 29 | +dotnet_diagnostic.MA0011.severity = suggestion |
| 30 | + |
| 31 | +# MA0015: Use overload of ArgumentException with parameter name |
| 32 | +dotnet_diagnostic.MA0015.severity = suggestion |
| 33 | + |
| 34 | +# MA0016: Prefer using collection abstraction instead of implementation |
| 35 | +dotnet_diagnostic.MA0016.severity = suggestion |
| 36 | + |
| 37 | +# MA0026: TODO comments |
| 38 | +dotnet_diagnostic.MA0026.severity = suggestion |
| 39 | + |
| 40 | +# MA0039: Do not write your own certificate validation method |
| 41 | +# This is intentionally disabled because the simulator has a user-opt-in |
| 42 | +# "dangerousAcceptAnyServerCertificateValidator" setting for testing purposes |
| 43 | +dotnet_diagnostic.MA0039.severity = none |
| 44 | + |
| 45 | +# MA0046: Event delegate parameters |
| 46 | +dotnet_diagnostic.MA0046.severity = suggestion |
| 47 | + |
| 48 | +# MA0048: File name must match type name |
| 49 | +dotnet_diagnostic.MA0048.severity = suggestion |
| 50 | + |
| 51 | +# MA0049: Type name should not match containing namespace |
| 52 | +dotnet_diagnostic.MA0049.severity = suggestion |
| 53 | + |
| 54 | +# MA0051: Method is too long |
| 55 | +dotnet_diagnostic.MA0051.severity = suggestion |
| 56 | + |
| 57 | +# MA0055: Do not use finalizer |
| 58 | +# Finalizers are used in test fixtures for cleanup, which is acceptable |
| 59 | +dotnet_diagnostic.MA0055.severity = suggestion |
| 60 | + |
| 61 | +# MA0158: Use System.Threading.Lock |
| 62 | +dotnet_diagnostic.MA0158.severity = suggestion |
0 commit comments