chore(editorconfig): update encoding config#805
Conversation
|
🧙 Sourcery has finished reviewing your pull request! Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Pull request overview
This PR significantly simplifies the .editorconfig file by removing extensive C# and .NET coding style rules while retaining essential formatting configurations. The change reduces the file from 248 lines to 23 lines, keeping only core settings related to encoding, indentation, and file headers. This aligns with a more minimal configuration approach where many style rules can be handled by IDE defaults or other tooling.
Key Changes:
- Removed ~220 lines of detailed C# and .NET coding conventions, style preferences, and ReSharper-specific settings
- Consolidated file type patterns for XML, JSON, and project files into a single configuration block
- Updated the file header template to remove the
https://argozhang.github.io/URL reference
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| csharp_style_prefer_not_pattern = true:suggestion | ||
| csharp_style_prefer_extended_property_pattern = true:suggestion | ||
| csharp_prefer_static_anonymous_function = true:suggestion | ||
| file_header_template = Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.\nLicensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\nWebsite: https://www.blazor.zone |
There was a problem hiding this comment.
The file header template has been updated to remove the reference to https://argozhang.github.io/ at the end. This appears to be an intentional simplification, but if this URL is still actively used as an alternative website reference, it should be retained in the template. Please verify if removing this URL reference is intentional.
| file_header_template = Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.\nLicensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\nWebsite: https://www.blazor.zone | |
| file_header_template = Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.\nLicensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\nWebsite: https://www.blazor.zone https://argozhang.github.io/ |
Link issues
fixes #804
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Chores: