Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ dotnet_diagnostic.IDE0330.severity = warning
dotnet_diagnostic.IDE0052.severity = warning
dotnet_diagnostic.IDE0010.severity = warning

# Detect unused code and unnecessary nullable suppression.
dotnet_diagnostic.IDE0051.severity = warning
dotnet_diagnostic.IDE0060.severity = warning
dotnet_diagnostic.IDE0370.severity = warning

# IDE0072: Populate switch (switch expressions). Left at its default (silent) — every
# switch expression over an enum already requires a discard arm to satisfy the compiler's
# own exhaustiveness check (CS8509/CS8524) regardless of this rule, and IDE0072 does not
Expand Down
6 changes: 3 additions & 3 deletions tests/Refedle.Tests/App/AppKeyHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,10 @@ private sealed class TestTableSource : ITableSource
set { }
}

public static void AddColumn(string name) { }
public static void AddColumn(string _) { }
public static void AddRow() { }
public static void RemoveColumn(int index) { }
public static void RemoveRow(int index) { }
public static void RemoveColumn(int _) { }
public static void RemoveRow(int _) { }
public static void Clear() { }
}
}
6 changes: 3 additions & 3 deletions tests/Refedle.Tests/App/Views/ColumnActionHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ private sealed class TableSource : ITableSource
set { }
}

public static void AddColumn(string name) { }
public static void AddColumn(string _) { }
public static void AddRow() { }
public static void RemoveColumn(int index) { }
public static void RemoveRow(int index) { }
public static void RemoveColumn(int _) { }
public static void RemoveRow(int _) { }
public static void Clear() { }
}
}