Description
CSharpier appears to include files from the bin/ and obj/ directories when formatting XML files. These directories are typically used for compiled or intermediate files and should be excluded by default from formatting operations.
Steps to Reproduce
- Run
dotnet build -c Release or use a CI workflow that formats all files.
- Observe that XML files in
bin/ or obj/ directories are being reported as not formatted.
Expected Behavior
CSharpier should automatically ignore any files in the bin/ and obj/ directories, including XML or xml-like files.
Actual Behavior
Files in bin/ and obj/, including XML files, are formatted, which may lead to unnecessary changes and CI noise.
Suggested Fix
Add a default exclusion rule for bin/ and obj/ directories.
Environment
- CSharpier version: 1.0.1
- OS: Windows
- .NET SDK: .NET 9
Description
CSharpier appears to include files from the
bin/andobj/directories when formatting XML files. These directories are typically used for compiled or intermediate files and should be excluded by default from formatting operations.Steps to Reproduce
dotnet build -c Releaseor use a CI workflow that formats all files.bin/orobj/directories are being reported as not formatted.Expected Behavior
CSharpier should automatically ignore any files in the
bin/andobj/directories, including XML or xml-like files.Actual Behavior
Files in
bin/andobj/, including XML files, are formatted, which may lead to unnecessary changes and CI noise.Suggested Fix
Add a default exclusion rule for
bin/andobj/directories.Environment