Skip to content

Commit bff1877

Browse files
committed
Add *.{slnx,xaml} to csharpier's default includes
Support for both filetypes was added upstream in belav/csharpier#1648 and first released in csharpier 1.1.0.
1 parent 74e1a52 commit bff1877

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/formatter-csharpier.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
[formatter.csharpier]
33
command = "csharpier"
44
excludes = []
5-
includes = ["*.cs", "*.csproj"]
5+
includes = ["*.cs", "*.csproj" "*.slnx" "*.xaml"]
66
options = ["format"]

programs/csharpier.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
includes = [
1414
"*.cs"
1515
"*.csproj"
16-
# "*.slnx" # add this with 1.0.3 release
16+
"*.slnx" # support added in 1.1.0
17+
"*.xaml" # support added in 1.1.0
1718
];
1819
})
1920
];

0 commit comments

Comments
 (0)