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

Add .editorconfig #197

Merged
merged 2 commits into from
Oct 19, 2021
Merged

Add .editorconfig #197

merged 2 commits into from
Oct 19, 2021

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Oct 18, 2021

  • Roslyn repo version, except for:
    • removed JSON indent rules as files come from JS repo
    • csharp_space_after_cast = true
  • run code reformat

* run code reformat
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
insert_final_newline = true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's the best setting.

.editorconfig Outdated

# IDE0073: File header
dotnet_diagnostic.IDE0073.severity = warning
file_header_template =
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discovered that when I added a file in "the other project I am working on".

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

.editorconfig Outdated Show resolved Hide resolved
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
@lahma lahma merged commit 27ad334 into sebastienros:main Oct 19, 2021
@lahma lahma deleted the editorconfig branch October 19, 2021 18:11
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