sbt scalafmt does not lint tests! This PR changes the command to scalafmtAll, which does. (AFAIK the cli invocations do format everything, so we can leave them as-is.)
How to test
Change a test file and run the commit hook. You should see formatting applied to tests.
What does this change?
sbt scalafmt
does not lint tests! This PR changes the command toscalafmtAll
, which does. (AFAIK the cli invocations do format everything, so we can leave them as-is.)How to test
Change a test file and run the commit hook. You should see formatting applied to tests.