Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"bonsai.sgen"
],
"rollForward": false
},
"docfx": {
"version": "2.78.3",
"commands": [
"docfx"
],
"rollForward": false
}
}
}
39 changes: 17 additions & 22 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,42 +1,37 @@
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
###############################
# Core EditorConfig Options #
###############################
root = true

# All files
[*]
indent_style = space

# XML project files
[*.{csproj,vcxproj,vcxproj.filters,props,targets,ruleset,proj,projitems,shproj,wixproj,slnx}]
#--------------------------------------------------------------------------------------------------
# XML, JSON, and web files
#--------------------------------------------------------------------------------------------------
[*.{xml,csproj,vcxproj,vcxproj.filters,shproj,props,targets,config,nuspec,resx,vsixmanifest,wxs,vstemplate,slnx}]
indent_size = 2

# XML files
[*.{xml,bonsai,config,nuspec,resx,vsct,wxs}]
[*.json]
indent_size = 2

# JSON/YAML files
[*.{json,yaml,yml}]
indent_size = 2

# Web files
[*.{html,css}]
indent_size = 2

# Code files
[*.{c,cpp,cs,csx,h,hpp,ixx}]
#--------------------------------------------------------------------------------------------------
# C++
#--------------------------------------------------------------------------------------------------
[*.{c,cpp,h,hpp,ixx}]
indent_size = 4
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true

###############################
# .NET Coding Conventions #
###############################
[*.{cs}]
# Organize usings
dotnet_sort_system_directives_first = true
#--------------------------------------------------------------------------------------------------
# C#
#--------------------------------------------------------------------------------------------------
[*.{cs,csx}]
indent_size = 4
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true

# Language keyword vs full type name
# Do not create a message because explicitly sized types can be convenient in interop where bit size matters
Expand Down
10 changes: 4 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,29 @@
# Config
*.gitignore text
*.gitattributes text
*.gitmodules text eol=lf
*.editorconfig text
*.git-blame-ignore-revs text
*.sln text
*.proj text
*.props text
*.targets text
*.csproj text
*.vcxproj text
*.wixproj text
*.config text
*.json text
*.xml text
*.yaml text
*.yml text

# Code
*.manifest text
*.vsixmanifest text
*.vstemplate text
*.resx text
*.cs text
*.bonsai text
*.wxs text

# Designer files
*.Designer.cs text linguist-generated=false

# Documents
LICENSE text
*.md text diff=markdown
Expand All @@ -42,4 +40,4 @@ LICENSE text
*.png binary
*.ico binary
*.gif binary
*.svg text
*.svg text
Loading
Loading