Skip to content

Commit 78fd924

Browse files
authored
Track obsolete types with Analyzer, but don't break the build (#25)
1 parent 5e80f87 commit 78fd924

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and adheres to a project-specific [Versioning](/README.md).
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Updated `S1133` to `suggestion`, because while we do want deprecated code to be removed eventually, marking code as obsolete should not immediately break the build.
13+
1014
## [3.1.0] - 2024-09-19
1115

1216
### Fixed

build/Neolution.CodeAnalysis.globalconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ dotnet_diagnostic.S3267.severity = suggestion
250250
; Developers should be warned when they create disposable objects without disposing them
251251
dotnet_diagnostic.CA2000.severity = warning
252252

253+
# S1133 Do not forget to remove this deprecated code someday.
254+
; Deprecated code should eventually be removed, but it should not break the current build.
255+
dotnet_diagnostic.S1133.severity = suggestion
256+
253257
# S107: Methods should not have too many parameters
254258
dotnet_diagnostic.S107.severity = warning
255259

0 commit comments

Comments
 (0)