diff --git a/.editorconfig b/.editorconfig index 87e79ec..76dff6a 100755 --- a/.editorconfig +++ b/.editorconfig @@ -422,4 +422,9 @@ dotnet_diagnostic.IDE1006.severity = none dotnet_diagnostic.SA1615.severity = none [**/Migrations/*] -generated_code = true \ No newline at end of file +generated_code = true + + + +[*.cs] +end_of_line = lf \ No newline at end of file diff --git a/.husky/task-runner.json b/.husky/task-runner.json index d762225..e82d7b9 100755 --- a/.husky/task-runner.json +++ b/.husky/task-runner.json @@ -19,7 +19,7 @@ { "name": "csharpier", "command": "dotnet", - "args": [ "csharpier", "${staged}" ], + "args": [ "dotnet-csharpier", "${staged}" ], "include": [ "**/*.cs" ] } ] diff --git a/src/PlaceAPi.Identity/Program.cs b/src/PlaceAPi.Identity/Program.cs index ad36e70..85ab358 100755 --- a/src/PlaceAPi.Identity/Program.cs +++ b/src/PlaceAPi.Identity/Program.cs @@ -1,32 +1,32 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.Hosting; -using PlaceAPi.Identity; -using PlaceAPi.Identity.Authenticate.Composition; -using PlaceAPi.Identity.OpenApi; - -WebApplicationBuilder builder = WebApplication.CreateBuilder(args); - - -{ - builder.Services.RegisterPlace(builder); - builder.Services.AddOpenApiFeature(builder.Configuration); - builder.AddServiceDefaults(); -} - -WebApplication app = builder.Build(); - - -{ - app.UseHttpSecurity(); - app.WithAuthenticationEndpoints(); - app.UsePlaceServices(); - if (app.Environment.IsDevelopment()) - { - app.WithSwaggerUI(); - app.UseDeveloperExceptionPage(); - } - - await app.RunAsync(); -} - -public partial class Program { } +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.Hosting; +using PlaceAPi.Identity; +using PlaceAPi.Identity.Authenticate.Composition; +using PlaceAPi.Identity.OpenApi; + +WebApplicationBuilder builder = WebApplication.CreateBuilder(args); + + +{ + builder.Services.RegisterPlace(builder); + builder.Services.AddOpenApiFeature(builder.Configuration); + builder.AddServiceDefaults(); +} + +WebApplication app = builder.Build(); + + +{ + app.UseHttpSecurity(); + app.WithAuthenticationEndpoints(); + app.UsePlaceServices(); + if (app.Environment.IsDevelopment()) + { + app.WithSwaggerUI(); + app.UseDeveloperExceptionPage(); + } + + await app.RunAsync(); +} + +public partial class Program { }