dotnet / format

Home for the dotnet-format command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue: Limited Scope for Running the Tool on Changed Files in Pull Requests

MatejChabada opened this issue · comments

The current version of the tool is impressive and has proven to be useful. However, it lacks the ability to run exclusively on the files that have been modified in a pull request. This feature is crucial for legacy projects, as they tend to generate numerous errors when the tool is applied globally.

I believe this enhancement would greatly improve the usability and effectiveness of the tool, especially for those working on older projects.

This would be difficult to build into dotnet-format itself as there are many source control and CI systems. There are solutions out there depending on your source control/CI combination. For instance if you are using git with GitHub there is a dotnet-format action that has an only-changed-files option.