diff --git a/.editorconfig b/.editorconfig index 26a8ca5..4cab270 100644 --- a/.editorconfig +++ b/.editorconfig @@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error dotnet_diagnostic.IDE0040.severity = error [*.cs] +# Top-level files are definitely OK +csharp_using_directive_placement = outside_namespace:silent +csharp_style_namespace_declarations = block_scoped:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_prefer_braces = true:silent + # Prefer "var" everywhere csharp_style_var_for_built_in_types = true:suggestion csharp_style_var_when_type_is_apparent = true:suggestion @@ -89,9 +95,15 @@ csharp_new_line_before_members_in_object_initializers = true csharp_new_line_before_members_in_anonymous_types = true # Test settings -[**/*Tests*/*{.cs,.vb}] +[**/*Tests*/**{.cs,.vb}] # xUnit1013: Public method should be marked as test. Allows using records as test classes dotnet_diagnostic.xUnit1013.severity = none +# CS9113: Parameter is unread (usually, ITestOutputHelper) +dotnet_diagnostic.CS9113.severity = none + +# Default severity for analyzer diagnostics with category 'Style' +dotnet_analyzer_diagnostic.category-Style.severity = none + # VSTHRD200: Use "Async" suffix for async methods dotnet_diagnostic.VSTHRD200.severity = none diff --git a/.gitignore b/.gitignore index 242945b..a438e35 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,13 @@ bin +app obj artifacts pack TestResults .vs .vscode +.idea +local.settings.json *.suo *.sdf @@ -29,5 +32,6 @@ node_modules _site .jekyll-metadata .jekyll-cache +.sass-cache Gemfile.lock package-lock.json diff --git a/.netconfig b/.netconfig index eb29ef9..9c61573 100644 --- a/.netconfig +++ b/.netconfig @@ -5,8 +5,8 @@ weak [file ".gitignore"] url = https://github.com/devlooped/oss/blob/main/.gitignore - sha = c78868eba59a3e04602434684f9eac241fef13fb - etag = 1c1705a3f0ed65e33c9133996ebaa100aa445a8b968b2904ad48fef938702006 + sha = 4bd702593c10df189cd4a0f6e6fb72e55de02198 + etag = f11dcc8c057bd2f526aa9c7090c9568d1656fafaaedc6719da42a00283018ffa weak [file "license.txt"] url = https://github.com/devlooped/oss/blob/main/license.txt @@ -20,6 +20,6 @@ weak [file ".editorconfig"] url = https://github.com/devlooped/oss/blob/main/.editorconfig - sha = 448cf45a26e068fe5d7164ea48d1dc8bf620df46 - etag = 897634b9ba05c00e8ef35b24533d31bc43a5299be5a64e240109ba4c00fcad15 + sha = c779d3d4e468358106dea03e93ba2cd35bb01ecb + etag = 7298c6450967975a8782b5c74f3071e1910fc59686e48f9c9d5cd7c68213cf59 weak