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

Reflect code conventions in .editorconfig. #1025

Closed
kzrnm opened this issue Dec 7, 2021 · 1 comment
Closed

Reflect code conventions in .editorconfig. #1025

kzrnm opened this issue Dec 7, 2021 · 1 comment

Comments

@kzrnm
Copy link
Contributor

kzrnm commented Dec 7, 2021

New Feature Proposal

Description

This project has Code Conventions, but the editorconfig doesn't reflect those conventions.

I think it's better to reflect it in .editorconfig.

Specification

[*.cs]
dotnet_style_predefined_type_for_member_access = false:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = false:suggestion

csharp_prefer_braces = true:suggestion

csharp_using_directive_placement = inside_namespace:suggestion

csharp_style_var_for_built_in_types=true:suggestion
csharp_style_var_when_type_is_apparent=true:suggestion

Additional options

  • Run dotnet format
@FlorianRappl
Copy link
Contributor

Landed in devel - thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants