Skip to content

Commit

Permalink
refs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 13, 2024
1 parent a148ff1 commit 847c919
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
37 changes: 31 additions & 6 deletions src/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
root = true
# EditorConfig: http://EditorConfig.org

# top-most EditorConfig file

[*]
indent_style = space


[*.cs]
indent_size = 4
charset = utf-8
Expand All @@ -17,12 +13,42 @@ resharper_redundant_accessor_body_highlighting = error
# Replace with field keyword
resharper_replace_with_field_keyword_highlighting = error

# Replace with single call to Single(..)
resharper_replace_with_single_call_to_single_highlighting = error

# Replace with single call to SingleOrDefault(..)
resharper_replace_with_single_call_to_single_or_default_highlighting = error

# Replace with single call to LastOrDefault(..)
resharper_replace_with_single_call_to_last_or_default_highlighting = error

# Replace with single call to Last(..)
resharper_replace_with_single_call_to_last_highlighting = error

# Replace with single call to First(..)
resharper_replace_with_single_call_to_first_highlighting = error

# Replace with single call to FirstOrDefault(..)
resharper_replace_with_single_call_to_first_or_default_highlighting = error

# Replace with single call to Any(..)
resharper_replace_with_single_call_to_any_highlighting = error

# Replace with single call to Count(..)
resharper_replace_with_single_call_to_count_highlighting = error

# Declare types in namespaces
dotnet_diagnostic.CA1050.severity = None
dotnet_diagnostic.CA1050.severity = none

# Use Literals Where Appropriate
dotnet_diagnostic.CA1802.severity = error

# Potentially misleading parameter name in lambda or local function
resharper_all_underscore_local_parameter_name_highlighting = none

# Redundant explicit collection creation in argument of 'params' parameter
resharper_redundant_explicit_params_array_creation_highlighting = error

# Do not initialize unnecessarily
dotnet_diagnostic.CA1805.severity = error

Expand Down Expand Up @@ -152,7 +178,6 @@ dotnet_diagnostic.CA1869.severity = error
# Use a cached 'SearchValues' instance
dotnet_diagnostic.CA1870.severity = error


# Microsoft .NET properties
trim_trailing_whitespace = true
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
Expand Down
14 changes: 7 additions & 7 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Argon" Version="0.25.0" />
<PackageVersion Include="Argon.FSharp" Version="0.25.0" />
<PackageVersion Include="Argon" Version="0.26.0" />
<PackageVersion Include="Argon.FSharp" Version="0.26.0" />
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" />
<PackageVersion Include="DiffEngine" Version="15.5.5" />
<PackageVersion Include="DiffEngine" Version="15.6.0" />
<PackageVersion Include="Expecto" Version="10.2.1" />
<PackageVersion Include="Fixie" Version="4.1.0" />
<PackageVersion Include="Fixie.TestAdapter" Version="4.1.0" />
Expand All @@ -22,16 +22,16 @@
<PackageVersion Include="MSTest" Version="3.6.4" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.4" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageVersion Include="Polyfill" Version="7.5.0" />
<PackageVersion Include="Polyfill" Version="7.6.0" />
<PackageVersion Include="ProjectDefaults" Version="1.0.147" />
<PackageVersion Include="PublicApiGenerator" Version="11.1.0" />
<PackageVersion Include="PublicApiGenerator" Version="11.2.0" />
<PackageVersion Include="SimpleInfoName" Version="3.1.0" />
<PackageVersion Include="System.Drawing.Common" Version="9.0.0" />
<PackageVersion Include="System.IO.Hashing" Version="9.0.0" />
<PackageVersion Include="System.Memory" Version="4.6.0" />
<PackageVersion Include="TextCopy" Version="6.2.1" />
<PackageVersion Include="TUnit" Version="0.4.95" />
<PackageVersion Include="TUnit.Core" Version="0.4.95" />
<PackageVersion Include="TUnit" Version="0.4.105" />
<PackageVersion Include="TUnit.Core" Version="0.4.105" />
<PackageVersion Include="Xunit" Version="2.9.2" />
<PackageVersion Include="xunit.abstractions" Version="2.0.3" />
<PackageVersion Include="xunit.extensibility.execution" Version="2.9.2" />
Expand Down

0 comments on commit 847c919

Please sign in to comment.