dotnet format - Formats code to match editorconfig settings. Introduced with .NET 6 SDK.
dotnet format is a code formatter that applies style preferences to a project or solution. Preferences will be read from an .editorconfig file, if present, otherwise a default set of preferences will be used. For more information, see the EditorConfig documentation.
Docs: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-format
dotnet format- Formats code to match editorconfig settings. Introduced with .NET 6 SDK.dotnet formatis a code formatter that applies style preferences to a project or solution. Preferences will be read from an .editorconfig file, if present, otherwise a default set of preferences will be used. For more information, see the EditorConfig documentation.Docs: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-format