diff --git a/src/CodeFormatter.cs b/src/CodeFormatter.cs index 8487c3378b..41d898b3f7 100644 --- a/src/CodeFormatter.cs +++ b/src/CodeFormatter.cs @@ -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 FormatWorkspaceAsync( FormatOptions formatOptions,