Execute .NET code analyzers in CI #33
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-csharp#33
Loading…
Reference in a new issue
No description provided.
Delete branch "potyarkin/frostfs-sdk-csharp:feature/ci-linter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.NET SDK comes with many builtin static analyzers: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview?tabs=net-8
We have configured these analyzers previously, now we can add them to our CI.
Needs input from reviewers:
.editorconfig
produces the expected result. This means the linters are actually executed as part ofdotnet build
EnforceCodeStyleInBuild
which is described as required in docs, hence this question.EnableNETAnalyzers
for FrostFS.SDK.Tests. Is that intentional?WIP: Execute .NET code analyzers in CIto Execute .NET code analyzers in CII'll add
EnforceCodeStyleInBuild
to the projects and turn on analizers for test projects.