-
Notifications
You must be signed in to change notification settings - Fork 25
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
scalafmtOnCompile doesn't work for additional confifgurations #18
Comments
Seeing something similar with the I have: // ...
.settings(inConfig(IntegrationTest)(scalafmtSettings))
// ...
scalafmtOnCompile in ThisBuild := true |
I've got a multi-module project that has sub-projects that cross-build JVM and ScalaJS, and some that are just JVM. Reformat-on-compile and issuing scalafmt don't work on the ones that are JVM+ScalaJS. Is that related to this bug? |
I think the reason for this bug could be this line: sourceDirectories := Seq(scalaSource.value) The plugin should pick up all source directories if this is changed to |
This should probably be changed to use |
I think you should not touch Then in lines 148 and 150 use |
I'm using the sbt-multi-jvm plugin which adds the
MultiJvm
configuration. I have addedbut sources under
src/multi-jvm
are not formatted on compile and also not when executingmulti-ivm/scalafmt
.The text was updated successfully, but these errors were encountered: