Skip to content

Commit

Permalink
Don't limit to Compile/Test configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Meltzer committed Nov 12, 2021
1 parent 72638bf commit e87feba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ object ScalafmtPlugin extends AutoPlugin {
)

override def projectSettings: Seq[Def.Setting[_]] =
Seq(Compile, Test).flatMap(inConfig(_)(scalafmtConfigSettings)) ++ Seq(
scalafmtConfigSettings ++ Seq(
scalafmtAll := scalafmt.?.all(anyConfigsInThisProject).value,
scalafmtCheckAll := scalafmtCheck.?.all(anyConfigsInThisProject).value
)
Expand Down

0 comments on commit e87feba

Please sign in to comment.