Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix / re-evaluate Blazor disabled code analysis rules #2453

Open
msmithNI opened this issue Oct 28, 2024 · 0 comments
Open

Fix / re-evaluate Blazor disabled code analysis rules #2453

msmithNI opened this issue Oct 28, 2024 · 0 comments

Comments

@msmithNI
Copy link
Contributor

🧹 Tech Debt

Currently we have a decent number of disabled code analysis rules on our Blazor solution, accrued over time (with analyzer package updates / .NET updates). We should do a pass over them and see which can be easily fixed / re-enabled.

The bulk of these are in blazor-workspace\.editorconfig, but there's also a few in the individual .csproj files to evaluate too.

@msmithNI msmithNI added tech debt triage New issue that needs to be reviewed labels Oct 28, 2024
@m-akinc m-akinc removed the triage New issue that needs to be reviewed label Oct 29, 2024
@m-akinc m-akinc moved this to Defined/Ready to Pickup in Nimble Design System Priorities Oct 29, 2024
rajsite pushed a commit that referenced this issue Nov 1, 2024
# Pull Request

## 🤨 Rationale

Resolves #1667
- Split off resolving more code analysis suppressions to #2453 
- #2355 : Resolved by updates to Nimble/Spright JS initialization
scripts for .NET 8
- #2188 : Not reproducible by Nimble team, can debug further once
changes published if client can still reproduce

## 👩‍💻 Implementation

- Projects in Blazor solution now target `net8.0` (formerly `net6.0`)
- Update other .NET dependencies, and code analyzer package versions
- Update docs
- Re-build `Demo.Server` example based on new Blazor Web App template
- Update acceptance test projects to use similar setup as Blazor Web App
templates
- `NimbleBlazor.Tests.Acceptance.Client`: Existing tests use the
`InteractiveServer` render mode. The project also now supports tests
using `InteractiveWebAssembly` and static SSR render modes. Add one
example test for each.
- TODO: Spright acceptance test project currently don't use the new
setup yet. If the changes look reasonable and we want to do the same for
the Spright tests, I can do so in an update.

## 🧪 Testing

- Manual testing
- Autotests (unit/acceptance) pass. New tests for Nimble for
InteractiveWebAssembly / static SSR render modes.

## ✅ Checklist

- [x] I have updated the project documentation to reflect my changes or
determined no changes are needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Defined/Ready to Pickup
Development

No branches or pull requests

2 participants