From 08eb87c6b92645234b0a47be2535a776c7d4bb50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Tue, 28 Jan 2025 11:14:37 +0100 Subject: [PATCH 1/5] Set syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75510be..21d77c8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Shared Code Style for all Polyadic/Funcky projects. ## Usage -``` +```xml ``` From b87099e3decf12f8233fbfa65619183bb1366869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Tue, 28 Jan 2025 11:15:39 +0100 Subject: [PATCH 2/5] Bump version & update changelog --- CodeStyle/CodeStyle.csproj | 2 +- changelog.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CodeStyle/CodeStyle.csproj b/CodeStyle/CodeStyle.csproj index 90a470b..382afa4 100644 --- a/CodeStyle/CodeStyle.csproj +++ b/CodeStyle/CodeStyle.csproj @@ -1,7 +1,7 @@ - 1.0.0 + 1.1.0 Polyadic.CodeStyle analyzers Various analyzers bundled with opinionated configuration diff --git a/changelog.md b/changelog.md index 825c32f..c8b65bf 100644 --- a/changelog.md +++ b/changelog.md @@ -1 +1,6 @@ # Changelog +## 1.1.0 +* Disallow packing without enabling `ContinuousIntegrationBuild`. + +## 1.0.0 +Initial release From 9a5aaf90e186f7948fe62ead9de76f9d7b966d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Thu, 30 Jan 2025 13:38:26 +0100 Subject: [PATCH 3/5] Allow generating the API suppression file --- CodeStyle/build/Polyadic.CodeStyle.targets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CodeStyle/build/Polyadic.CodeStyle.targets b/CodeStyle/build/Polyadic.CodeStyle.targets index 3efb70d..f49002f 100644 --- a/CodeStyle/build/Polyadic.CodeStyle.targets +++ b/CodeStyle/build/Polyadic.CodeStyle.targets @@ -1,6 +1,7 @@ - + <_WorkflowUrl>$(PackageProjectUrl)/actions?query=branch%253Amain <_LinkPrefix>%1b]8;; From 2b0a413b5d42307aa19caa4b9e2936544279b49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Thu, 30 Jan 2025 13:53:22 +0100 Subject: [PATCH 4/5] Account for multi-targeting projects --- CodeStyle/CodeStyle.csproj | 6 ++---- CodeStyle/build/Polyadic.CodeStyle.targets | 14 ++------------ CodeStyle/build/PreventLocalPack.targets | 15 +++++++++++++++ .../Polyadic.CodeStyle.targets | 4 ++++ 4 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 CodeStyle/build/PreventLocalPack.targets create mode 100644 CodeStyle/buildMultiTargeting/Polyadic.CodeStyle.targets diff --git a/CodeStyle/CodeStyle.csproj b/CodeStyle/CodeStyle.csproj index 382afa4..9dd496b 100644 --- a/CodeStyle/CodeStyle.csproj +++ b/CodeStyle/CodeStyle.csproj @@ -19,9 +19,7 @@ - - true - %(Identity) - + + diff --git a/CodeStyle/build/Polyadic.CodeStyle.targets b/CodeStyle/build/Polyadic.CodeStyle.targets index f49002f..ccb236b 100644 --- a/CodeStyle/build/Polyadic.CodeStyle.targets +++ b/CodeStyle/build/Polyadic.CodeStyle.targets @@ -1,15 +1,5 @@ - - - <_WorkflowUrl>$(PackageProjectUrl)/actions?query=branch%253Amain - <_LinkPrefix>%1b]8;; - <_LinkInfix>%1b\ - <_LinkSuffix>$(_LinkPrefix)$(_LinkInfix) - - - + + diff --git a/CodeStyle/build/PreventLocalPack.targets b/CodeStyle/build/PreventLocalPack.targets new file mode 100644 index 0000000..c6afd52 --- /dev/null +++ b/CodeStyle/build/PreventLocalPack.targets @@ -0,0 +1,15 @@ + + + + + <_WorkflowUrl>$(PackageProjectUrl)/actions?query=branch%253Amain + <_LinkPrefix>%1b]8;; + <_LinkInfix>%1b\ + <_LinkSuffix>$(_LinkPrefix)$(_LinkInfix) + + + + diff --git a/CodeStyle/buildMultiTargeting/Polyadic.CodeStyle.targets b/CodeStyle/buildMultiTargeting/Polyadic.CodeStyle.targets new file mode 100644 index 0000000..3ad946b --- /dev/null +++ b/CodeStyle/buildMultiTargeting/Polyadic.CodeStyle.targets @@ -0,0 +1,4 @@ + + + + From 047484d2adef70f1410ba1ca4a44cba9faea1ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Thu, 30 Jan 2025 14:08:53 +0100 Subject: [PATCH 5/5] Update IDisposableAnalyzers --- CodeStyle/CodeStyle.csproj | 2 +- changelog.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CodeStyle/CodeStyle.csproj b/CodeStyle/CodeStyle.csproj index 9dd496b..1c6d114 100644 --- a/CodeStyle/CodeStyle.csproj +++ b/CodeStyle/CodeStyle.csproj @@ -15,7 +15,7 @@ netstandard2.0 - + diff --git a/changelog.md b/changelog.md index c8b65bf..01d7453 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,21 @@ # Changelog ## 1.1.0 * Disallow packing without enabling `ContinuousIntegrationBuild`. +* Update `IDisposableAnalyzers` from 4.0.2 to 4.0.8. \ + Excerpt from their [Release Notes](https://github.com/DotNetAnalyzers/IDisposableAnalyzers/blob/master/RELEASE_NOTES.md): + > #### 4.0.7 + > BUGFIX: Handle target typed new + > + > #### 4.0.6 + > BUGFIX: Handle ref struct + > BUGFIX: Handle target typed new + > + > #### 4.0.5 + > BUGFIX: Handle ValueTask + > BUGFIX: awaited in expression + > + > #### 4.0.3 + > * BUGFIX: Handle recursive builder ## 1.0.0 Initial release