Skip to content

Commit

Permalink
Enforce tabs for Xaml in EditorConfig and Xaml Styler (#11346)
Browse files Browse the repository at this point in the history
  • Loading branch information
heftymouse authored Feb 17, 2023
1 parent aaeb7b0 commit e7d00f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[*.cs]
root = true

[**/*.cs]
indent_style = tab
indent_size = 4
tab_width = 4

[**/*.xaml]
indent_style = tab
indent_size = 4
tab_width = 4
3 changes: 3 additions & 0 deletions Settings.XamlStyler
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"IndentWithTabs": true
}

0 comments on commit e7d00f3

Please sign in to comment.