sbt scalafmtCheckAll checks the format of all files in the repo, how to check only the format of the modified files.
And whats the difference between sbt scalafmtCheckAll and sbt scalafmtCheck?
sbt scalafmtCheckAll checks the format of all files in the repo, how to check only the format of the modified files.
And whats the difference between sbt scalafmtCheckAll and sbt scalafmtCheck?
According to the documentation, you could use the
scalafmtFilter: diff-dirtyfeature.See https://scalameta.org/scalafmt/docs/installation.html#task-keys