Skip to content

Commit

Permalink
Merge pull request #1071 from dotnet/reorder-imports-formatter
Browse files Browse the repository at this point in the history
Run CodeStyle formatter before removing unnecessary imports
  • Loading branch information
JoeRobich committed Mar 31, 2021
2 parents 7d75c42 + c19d348 commit 90b477f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CodeFormatter.cs
Expand Up @@ -25,9 +25,9 @@ internal static class CodeFormatter
new EndOfLineFormatter(),
new CharsetFormatter(),
new OrganizeImportsFormatter(),
new UnnecessaryImportsFormatter(),
AnalyzerFormatter.CodeStyleFormatter,
AnalyzerFormatter.ThirdPartyFormatter);
AnalyzerFormatter.ThirdPartyFormatter,
new UnnecessaryImportsFormatter());

public static async Task<WorkspaceFormatResult> FormatWorkspaceAsync(
FormatOptions formatOptions,
Expand Down

0 comments on commit 90b477f

Please sign in to comment.