Skip to content

Commit b0b09a6

Browse files
committed
Simplify formatter disable setting
We only need this one setting. I don't understand what exactly it is doing. At least we no longer need all the other settings that come with `defaultConfigs`.
1 parent 54c356b commit b0b09a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ object ScalariformBuild extends Build {
2121
|Using 1.7 to build requires setting SBT to use JDK 1.7 or higher -- if SBT is
2222
|booting on JDK 1.6, you will get a javax.swing related compilation error.""".stripMargin
2323

24-
lazy val commonSettings = Defaults.defaultConfigs ++ SbtScalariform.defaultScalariformSettings ++ sonatypeSettings ++ Seq(
24+
lazy val commonSettings = inConfig(Test)(Defaults.testSettings) ++ SbtScalariform.defaultScalariformSettings ++ sonatypeSettings ++ Seq(
2525
organization := "org.scalariform",
2626
profileName := "org.scalariform",
2727
version := "0.2.0-SNAPSHOT",

0 commit comments

Comments
 (0)