From b1615f5e320e0947072751d16e31fd1f53408e73 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 22 Nov 2024 12:50:29 -0800 Subject: [PATCH] Revert tabs vs spaces --- .editorconfig | 15 ++- Directory.Packages.props | 4 +- .../Fluid.MinimalApisSample.csproj | 6 +- .../Fluid.MvcViewEngine.csproj | 70 +++++------ Fluid/Fluid.csproj | 118 ++++++++---------- .../MinimalApis.LiquidViews.csproj | 52 ++++---- 6 files changed, 133 insertions(+), 132 deletions(-) diff --git a/.editorconfig b/.editorconfig index ed9afcb4..098f0142 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,17 @@ -[*.cs] +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.cs] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +[*.cs] # IDE0022: Use block body for method csharp_style_expression_bodied_methods = when_on_single_line:silent diff --git a/Directory.Packages.props b/Directory.Packages.props index 2081aa66..53873452 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,4 +1,4 @@ - + true @@ -25,4 +25,4 @@ - \ No newline at end of file + diff --git a/Fluid.MinimalApisSample/Fluid.MinimalApisSample.csproj b/Fluid.MinimalApisSample/Fluid.MinimalApisSample.csproj index d55d5fc1..839c1df7 100644 --- a/Fluid.MinimalApisSample/Fluid.MinimalApisSample.csproj +++ b/Fluid.MinimalApisSample/Fluid.MinimalApisSample.csproj @@ -1,9 +1,9 @@  - net9.0 - enable - Exe + net9.0 + enable + Exe $(NoWarn);NU5104 false preview diff --git a/Fluid.MvcViewEngine/Fluid.MvcViewEngine.csproj b/Fluid.MvcViewEngine/Fluid.MvcViewEngine.csproj index b8fa2c4d..b388fd8d 100644 --- a/Fluid.MvcViewEngine/Fluid.MvcViewEngine.csproj +++ b/Fluid.MvcViewEngine/Fluid.MvcViewEngine.csproj @@ -1,39 +1,39 @@  - - net6.0;net8.0;net9.0 - latest - logo_64x64.png - true - - $(NoWarn);NETSDK1138 - - - - - - - - - - - - - - - - - - - - - - - - - - ExceptionHelper.cs - - + + net6.0;net8.0;net9.0 + latest + logo_64x64.png + true + + $(NoWarn);NETSDK1138 + + + + + + + + + + + + + + + + + + + + + + + + + + ExceptionHelper.cs + + diff --git a/Fluid/Fluid.csproj b/Fluid/Fluid.csproj index 27157f27..14cb2939 100644 --- a/Fluid/Fluid.csproj +++ b/Fluid/Fluid.csproj @@ -1,68 +1,56 @@  - - netstandard2.0;net6.0;net8.0;net9.0 - true - latest - true - true - true - - $(NoWarn);CS1591;NETSDK1138 - - latest-Recommended - $(NoWarn);CA1016 - - $(NoWarn);CA1051 - - $(NoWarn);CA1200 - - $(NoWarn);CA1304 - - $(NoWarn);CA1305 - - $(NoWarn);CA1310 - - $(NoWarn);CA1711 - - $(NoWarn);CA1716 - - $(NoWarn);CA1720 - - $(NoWarn);CA1805 - - $(NoWarn);CA1863 - - $(NoWarn);CA2012 - - - - - - - - - - - - - - - - - - - - - - - - - - - README.md - - - - + + netstandard2.0;net6.0;net8.0;net9.0 + true + latest + true + true + true + + $(NoWarn);CS1591;NETSDK1138 + + latest-Recommended + $(NoWarn);CA1016 + $(NoWarn);CA1051 + $(NoWarn);CA1200 + $(NoWarn);CA1304 + $(NoWarn);CA1305 + $(NoWarn);CA1310 + $(NoWarn);CA1711 + $(NoWarn);CA1716 + $(NoWarn);CA1720 + $(NoWarn);CA1805 + $(NoWarn);CA1863 + $(NoWarn);CA2012 + + + + + + + + + + + + + + + + + + + + + + + + + + README.md + + + + diff --git a/MinimalApis.LiquidViews/MinimalApis.LiquidViews.csproj b/MinimalApis.LiquidViews/MinimalApis.LiquidViews.csproj index 9a4e7a53..fabaf3e1 100644 --- a/MinimalApis.LiquidViews/MinimalApis.LiquidViews.csproj +++ b/MinimalApis.LiquidViews/MinimalApis.LiquidViews.csproj @@ -1,35 +1,35 @@  - - net8.0;net9.0 - 9 - true - logo_64x64.png - MinimalApis.LiquidViews - MinimalApis.LiquidViews is a view engine for ASP.NET Core Minimal APIs based on the Liquid templating language. - + + net8.0;net9.0 + 9 + true + logo_64x64.png + MinimalApis.LiquidViews + MinimalApis.LiquidViews is a view engine for ASP.NET Core Minimal APIs based on the Liquid templating language. + - - - + + + - - - + + + - - - + + + - - - + + + - - README.md - - - - + + README.md + + + +