dotnet / dotnet/sdk

`dotnet format` support for traversal / .proj files

Open
#42,296 1 comment 14 reactions 0 assignees View on GitHub
Area-Format Area-TraversalSdk untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
I want to use https://github.com/leonardochaia/dotnet-affected as the target of my `dotnet format` command so I don't waste PR CI time on formatting files that are unchanged and unaffected by the PR.
Currently `dotnet format` only supports .csproj files and .sln files, but `dotnet affected` outputs a .proj file.

### Describe the solution you'd like
That .proj traversal file be supported by `dotnet format`.
It is already supported by `dotnet build` and `dotnet test`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.