Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Commit 7e6e3e7

Browse files
authored
Bumped DocumentFormat.OpenXml from 2.16.0 to 2.18.0
2 parents e070e27 + 1ee2ad0 commit 7e6e3e7

File tree

349 files changed

+546
-469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+546
-469
lines changed

.editorconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ csharp_prefer_static_local_function = true:suggestion
105105
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async
106106

107107
# Code-block preferences
108-
csharp_prefer_braces = true:suggestion
108+
csharp_prefer_braces = true:warning
109109
csharp_prefer_simple_using_statement = true:suggestion
110110
csharp_style_namespace_declarations = block_scoped:silent
111111

@@ -1028,7 +1028,7 @@ dotnet_diagnostic.CA5405.severity = warning
10281028
dotnet_diagnostic.IDE0048.severity = suggestion
10291029

10301030
# IDE0011: Add braces
1031-
dotnet_diagnostic.IDE0011.severity = suggestion
1031+
dotnet_diagnostic.IDE0011.severity = warning
10321032

10331033
# IDE0058: Expression value is never used
10341034
dotnet_diagnostic.IDE0058.severity = silent
@@ -1038,6 +1038,7 @@ dotnet_diagnostic.IDE0027.severity = suggestion
10381038

10391039
# S125: Sections of code should not be commented out
10401040
dotnet_diagnostic.S125.severity = silent
1041+
csharp_style_prefer_method_group_conversion = true:silent
10411042

10421043
[*.{cs,vb}]
10431044
dotnet_style_operator_placement_when_wrapping = beginning_of_line

.github/workflows/dotnet.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
./ClosedXML/bin/Release/*.snupkg
6666
6767
deployTest:
68-
if: github.ref != 'refs/heads/main'
68+
if: github.ref == 'refs/heads/develop'
6969
runs-on: windows-latest
7070
needs: build
7171
steps:
@@ -84,14 +84,4 @@ jobs:
8484
if: env.NUGET_TOKEN_EXISTS != ''
8585
run: |
8686
ls ./ClosedXML/bin/Release
87-
dotnet nuget push .\ClosedXML\bin\Release\*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TEST_TOKEN}} --source https://apiint.nugettest.org/v3/index.json
88-
- name: GithubReleasesPush
89-
uses: "marvinpinto/action-automatic-releases@latest"
90-
with:
91-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
92-
automatic_release_tag: "latest-prerelease"
93-
prerelease: true
94-
title: "Prerelease Build ${{ env.CURRENT_VERSION }}"
95-
files: |
96-
./ClosedXML/bin/Release/*.nupkg
97-
./ClosedXML/bin/Release/*.snupkg
87+
dotnet nuget push .\ClosedXML\bin\Release\*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TEST_TOKEN}} --source https://apiint.nugettest.org/v3/index.json

CONTRIBUTING.md

Lines changed: 45 additions & 16 deletions

ClosedXML.Examples/.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# C# files
2+
[*.cs]
3+
4+
# S1481: Unused local variables should be removed
5+
dotnet_diagnostic.S1481.severity = none

ClosedXML.Examples/AutoFilters/CustomAutoFilter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ClosedXML.Excel;
2-
using System;
32
using System.IO;
43

54
namespace ClosedXML.Examples

ClosedXML.Examples/AutoFilters/DynamicAutoFilter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ClosedXML.Excel;
2-
using System;
32
using System.IO;
43

54
namespace ClosedXML.Examples

ClosedXML.Examples/AutoFilters/RegularAutoFilter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ClosedXML.Excel;
2-
using System;
32
using System.IO;
43

54
namespace ClosedXML.Examples

ClosedXML.Examples/AutoFilters/TopBottomAutoFilter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ClosedXML.Excel;
2-
using System;
32
using System.IO;
43

54
namespace ClosedXML.Examples

ClosedXML.Examples/ClosedXML.Examples.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
<ItemGroup>
1919
<ProjectReference Include="..\ClosedXML\ClosedXML.csproj" />
20-
<PackageReference Include="DocumentFormat.OpenXml" Version="2.16.0" />
20+
<PackageReference Include="DocumentFormat.OpenXml" Version="2.18.0" />
2121
<PackageReference Include="morelinq" Version="3.3.2" />
22-
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.38.0.46746">
22+
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.44.0.52574">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>

ClosedXML.Examples/Columns/ColumnCells.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ClosedXML.Excel;
2-
using System;
32

43
namespace ClosedXML.Examples
54
{

0 commit comments

Comments
 (0)