Skip to content

Commit f6cf189

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update .editorconfig devlooped/oss@2981836 - Ignore test analyzer rules recursively. devlooped/oss@fd5b554 - Ignore primary ctor parameter in tests, usually used for testoutput helper devlooped/oss@c779d3d - Update .gitignore with JetBrains private folder devlooped/oss@9dff0bd - Ignore app root folder too devlooped/oss@b87a8a7 - Add .sass-cache to ignores devlooped/oss@d65f9c7 - Move .sass-cache down alongside other jekyll folders devlooped/oss@551d4e0
1 parent 602d75c commit f6cf189

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.editorconfig

+13-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error
5858
dotnet_diagnostic.IDE0040.severity = error
5959

6060
[*.cs]
61+
# Top-level files are definitely OK
62+
csharp_using_directive_placement = outside_namespace:silent
63+
csharp_style_namespace_declarations = block_scoped:silent
64+
csharp_prefer_simple_using_statement = true:suggestion
65+
csharp_prefer_braces = true:silent
66+
6167
# Prefer "var" everywhere
6268
csharp_style_var_for_built_in_types = true:suggestion
6369
csharp_style_var_when_type_is_apparent = true:suggestion
@@ -89,9 +95,15 @@ csharp_new_line_before_members_in_object_initializers = true
8995
csharp_new_line_before_members_in_anonymous_types = true
9096

9197
# Test settings
92-
[**/*Tests*/*{.cs,.vb}]
98+
[**/*Tests*/**{.cs,.vb}]
9399
# xUnit1013: Public method should be marked as test. Allows using records as test classes
94100
dotnet_diagnostic.xUnit1013.severity = none
95101

102+
# CS9113: Parameter is unread (usually, ITestOutputHelper)
103+
dotnet_diagnostic.CS9113.severity = none
104+
105+
# Default severity for analyzer diagnostics with category 'Style'
106+
dotnet_analyzer_diagnostic.category-Style.severity = none
107+
96108
# VSTHRD200: Use "Async" suffix for async methods
97109
dotnet_diagnostic.VSTHRD200.severity = none

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
bin
2+
app
23
obj
34
artifacts
45
pack
56
TestResults
67
.vs
78
.vscode
9+
.idea
810

911
*.suo
1012
*.sdf
@@ -29,5 +31,6 @@ node_modules
2931
_site
3032
.jekyll-metadata
3133
.jekyll-cache
34+
.sass-cache
3235
Gemfile.lock
3336
package-lock.json

.netconfig

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
weak
66
[file ".gitignore"]
77
url = https://github.com/devlooped/oss/blob/main/.gitignore
8-
sha = c78868eba59a3e04602434684f9eac241fef13fb
9-
etag = 1c1705a3f0ed65e33c9133996ebaa100aa445a8b968b2904ad48fef938702006
8+
sha = 551d4e0e3979be937fbf7e632dd602ddc84bd043
9+
etag = cb12a3e3e89a15acfb27d3eaace5135a6ec3d3fbd1242e4a8e8f9fa646200e5c
1010
weak
1111
[file "license.txt"]
1212
url = https://github.com/devlooped/oss/blob/main/license.txt
@@ -20,6 +20,6 @@
2020
weak
2121
[file ".editorconfig"]
2222
url = https://github.com/devlooped/oss/blob/main/.editorconfig
23-
sha = 448cf45a26e068fe5d7164ea48d1dc8bf620df46
24-
etag = 897634b9ba05c00e8ef35b24533d31bc43a5299be5a64e240109ba4c00fcad15
23+
sha = c779d3d4e468358106dea03e93ba2cd35bb01ecb
24+
etag = 7298c6450967975a8782b5c74f3071e1910fc59686e48f9c9d5cd7c68213cf59
2525
weak

0 commit comments

Comments
 (0)