Skip to content

Commit 3ce296d

Browse files
chore(deps): update Meziantou.Analyzer to 2.0.302 (#147)
* Initial plan * chore: regenerate editorconfig for Meziantou.Analyzer 2.0.302 Co-authored-by: geraldbarre-workleap <240971877+geraldbarre-workleap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: geraldbarre-workleap <240971877+geraldbarre-workleap@users.noreply.github.com>
1 parent cfa037d commit 3ce296d

File tree

1 file changed

+46
-6
lines changed

1 file changed

+46
-6
lines changed

src/files/analyzers/Analyzer.Meziantou.Analyzer.editorconfig

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ dotnet_diagnostic.MA0091.severity = none
457457
# Enabled: True, Severity: warning
458458
dotnet_diagnostic.MA0092.severity = none
459459

460-
# MA0093: EventArgs should not be null
460+
# MA0093: EventArgs should not be null when raising an event
461461
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0093.md
462462
# Enabled: True, Severity: warning
463463
dotnet_diagnostic.MA0093.severity = suggestion
@@ -817,11 +817,6 @@ dotnet_diagnostic.MA0163.severity = none
817817
# Enabled: True, Severity: warning
818818
dotnet_diagnostic.MA0164.severity = none
819819

820-
# MA0165: Make interpolated string
821-
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0165.md
822-
# Enabled: True, Severity: silent
823-
dotnet_diagnostic.MA0165.severity = none
824-
825820
# MA0166: Forward the TimeProvider to methods that take one
826821
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0166.md
827822
# Enabled: True, Severity: suggestion
@@ -887,3 +882,48 @@ dotnet_diagnostic.MA0177.severity = none
887882
# Enabled: True, Severity: suggestion
888883
dotnet_diagnostic.MA0178.severity = suggestion
889884

885+
# MA0179: Use Attribute.IsDefined instead of GetCustomAttribute(s)
886+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0179.md
887+
# Enabled: True, Severity: suggestion
888+
dotnet_diagnostic.MA0179.severity = suggestion
889+
890+
# MA0180: ILogger type parameter should match containing type
891+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0180.md
892+
# Enabled: False, Severity: warning
893+
dotnet_diagnostic.MA0180.severity = none
894+
895+
# MA0181: Do not use cast
896+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0181.md
897+
# Enabled: False, Severity: suggestion
898+
dotnet_diagnostic.MA0181.severity = none
899+
900+
# MA0182: Avoid unused internal types
901+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0182.md
902+
# Enabled: True, Severity: suggestion
903+
dotnet_diagnostic.MA0182.severity = suggestion
904+
905+
# MA0183: string.Format should use a format string with placeholders
906+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0183.md
907+
# Enabled: True, Severity: warning
908+
dotnet_diagnostic.MA0183.severity = warning
909+
910+
# MA0184: Do not use interpolated string without parameters
911+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0184.md
912+
# Enabled: True, Severity: silent
913+
dotnet_diagnostic.MA0184.severity = silent
914+
915+
# MA0185: Simplify string.Create when all parameters are culture invariant
916+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0185.md
917+
# Enabled: True, Severity: suggestion
918+
dotnet_diagnostic.MA0185.severity = suggestion
919+
920+
# MA0186: Equals method should use [NotNullWhen(true)] on the parameter
921+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0186.md
922+
# Enabled: False, Severity: suggestion
923+
dotnet_diagnostic.MA0186.severity = none
924+
925+
# MA0186: TryGetValue method should use [MaybeNullWhen(false)] on the value parameter
926+
# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0186.md
927+
# Enabled: False, Severity: suggestion
928+
dotnet_diagnostic.MA0186.severity = none
929+

0 commit comments

Comments
 (0)