Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task to format only changed files #37

Open
Hiosdra opened this issue Apr 22, 2020 · 2 comments
Open

Task to format only changed files #37

Hiosdra opened this issue Apr 22, 2020 · 2 comments

Comments

@Hiosdra
Copy link

Hiosdra commented Apr 22, 2020

Hi, in my team, I have a case when we have run checkScalafmt before every test task (in CI too). For some services we upgrade scalafmt without running scalafmtAll and with option to check only changed code, because of active development in these services(and wanting to not have conflicts). I wish a task with formatting only changed file will be added to Scalafmt. Would it be possible to add it?

I even done it and created a PR to this repo 😉 #36
Could you @alenkacz look into this?

@SelaOHB
Copy link

SelaOHB commented Feb 22, 2022

Hi, what did you do in the end?

@Hiosdra
Copy link
Author

Hiosdra commented Feb 22, 2022

We did upgrade to scalafmt during phase of slower development xx
And now we are migrating to using Kotlin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants