Skip to content

Commit 8570834

Browse files
committed
Warn for unnecessary usings
1 parent bba9d4d commit 8570834

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
dotnet_sort_system_directives_first = true
44

5+
# IDE0005: Using directive is unnecessary.
6+
dotnet_diagnostic.IDE0005.severity = warning
7+
58
# CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive).
69
dotnet_diagnostic.CS8509.severity = none
710

src/TfvcMigrator/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Collections.Immutable;
44
using System.CommandLine;
5-
using System.CommandLine.Invocation;
65
using System.Globalization;
76
using System.IO;
87
using System.Linq;

src/TfvcMigrator/TopologicalSortExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Collections.Immutable;
4-
using System.Diagnostics;
54
using System.Linq;
65

76
namespace TfvcMigrator

0 commit comments

Comments
 (0)