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

⬆️ Review and update C# style and coding rules #70

Merged
merged 4 commits into from
Oct 23, 2023

Conversation

pleonex
Copy link
Owner

@pleonex pleonex commented Oct 23, 2023

Description

Now we place the .editorconfig so it can apply to other languages than .NET (like markdown). This requires a new file .pretierrc for some additional settings.

The new C# rules have been reviewed. Existing rules have been adjusted after the feedback of several personal projects.
These rules matches the ones that VS now adds, but be careful opening the file with VS as it does overwrites some of them anyway.

Rules now are more conservative, giving suggestions instead of warnings of errors for shorthands or cool features.

This closes #64

@pleonex pleonex added the enhancement New feature or request label Oct 23, 2023
@pleonex pleonex self-assigned this Oct 23, 2023
@pleonex pleonex merged commit a999f4b into main Oct 23, 2023
2 checks passed
@pleonex pleonex deleted the feature/net-analyzers branch October 23, 2023 16:01
@pleonex pleonex added this to the vNext milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade the .NET analyzer configuration
1 participant