From e76f9f7460f9f6c1218bdb843a4884a4b91f1865 Mon Sep 17 00:00:00 2001 From: Daniel Wertheim Date: Sat, 3 Jul 2021 10:18:00 +0200 Subject: [PATCH] Upgrades NuGet packages (#205) * Simplifies cleaning when working with repo * Upgrades NuGet packages - Ensure.That - Newtonsoft.Json - Microsoft.NET.Test.Sdk * Minor editor tweaks --- .editorconfig | 24 ++++++++++++++--- .gitignore | 27 ++++++++++--------- source/projects/MyCouch/MyCouch.csproj | 4 +-- .../IntegrationTests/IntegrationTests.csproj | 4 +-- source/tests/Testing/Testing.csproj | 2 +- source/tests/UnitTests/UnitTests.csproj | 4 +-- 6 files changed, 42 insertions(+), 23 deletions(-) diff --git a/.editorconfig b/.editorconfig index 2fdef902..6a7926d0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,30 @@ +# top-most EditorConfig file root = true +# Baseline [*] -end_of_line = crlf +charset = utf-8 insert_final_newline = true indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +max_line_length = 160 + +[*.{yml,json}] +indent_size = 2 -[*.props, *.csproj, *.yml, *.json] +# Xml files (data, config, projects) +[*.{xml,props,targets,config,csproj}] indent_size = 2 +# Xml project files +[*.{csproj}] +indent_size = 2 + +# Shell scripts +[*.sh] +end_of_line = lf + +# C# [*.cs] -indent_size = 4 +dotnet_sort_system_directives_first = true diff --git a/.gitignore b/.gitignore index 62d8b8ed..4af01ca7 100644 --- a/.gitignore +++ b/.gitignore @@ -12,18 +12,6 @@ *.suo *.cache -.env -*.local -*.local.json -*.local.ini - -# misc -*~ -*.swp -*.sdf -*.orig -*.pfx - # rider .idea @@ -36,5 +24,18 @@ _ReSharper.* *.[Rr]e[Ss]harper.user *.DotSettings.user +# env config etc +.env +*.local +*.local.json +*.local.ini + +# misc +*~ +*.swp +*.sdf +*.orig +*.pfx + #windows stuff -Thumbs.db \ No newline at end of file +Thumbs.db diff --git a/source/projects/MyCouch/MyCouch.csproj b/source/projects/MyCouch/MyCouch.csproj index 7dbe6d9f..adb60fee 100644 --- a/source/projects/MyCouch/MyCouch.csproj +++ b/source/projects/MyCouch/MyCouch.csproj @@ -21,8 +21,8 @@ - - + + diff --git a/source/tests/IntegrationTests/IntegrationTests.csproj b/source/tests/IntegrationTests/IntegrationTests.csproj index e64a0720..b8f1e796 100644 --- a/source/tests/IntegrationTests/IntegrationTests.csproj +++ b/source/tests/IntegrationTests/IntegrationTests.csproj @@ -19,8 +19,8 @@ - - + + all diff --git a/source/tests/Testing/Testing.csproj b/source/tests/Testing/Testing.csproj index 0d9a5d7c..64ec31fc 100644 --- a/source/tests/Testing/Testing.csproj +++ b/source/tests/Testing/Testing.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/tests/UnitTests/UnitTests.csproj b/source/tests/UnitTests/UnitTests.csproj index 9c845f01..679a35b9 100644 --- a/source/tests/UnitTests/UnitTests.csproj +++ b/source/tests/UnitTests/UnitTests.csproj @@ -8,8 +8,8 @@ - - + + all