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

Update .editorconfig #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
# Defines the root directory
root = true

# Removes trailing whitespace at the end of lines
[*]
trim_trailing_whitespace = true

# Configuration for JSON and C# files
[*.{json,cs}]
indent_style = space
indent_size = 4
insert_final_newline = false

# UTF-8 encoding for JSON files
[*.json]
charset = utf-8

# UTF-8-BOM encoding for C# files
[*.cs]
charset = utf-8-bom
dotnet_remove_unnecessary_suppression_exclusions = category: ReSharper

# Indentation configuration for specific files
[*.{csproj,props,targets,nuspec,config}]
indent_style = space
indent_size = 2

# Markdown files
*.md linguist-language=Markdown

# Configuration to display Ruby code in GitHub preview
*.rb linguist-language=Ruby