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

ci: add .editorconfig to check naming rules #53

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

ktos
Copy link
Member

@ktos ktos commented Mar 29, 2024

The good: VS will automatically check and mark private members without _ prefix with compilation warnings
The bad: It won't work inside .razor files, see dotnet/razor#4406

We can add more rules, based on the default .NET coding style probably? However formatting rules need to work with csharpier.

@purifetchi purifetchi merged commit 2336dcd into main Mar 29, 2024
1 check passed
@ktos ktos deleted the editorconfig branch March 30, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants