Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGregory084 committed Mar 30, 2022
1 parent f5a8426 commit 31ebfff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/scala/io/github/davidgregory084/TpolecatPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,25 +131,20 @@ object TpolecatPlugin extends AutoPlugin {
Def.derive(
scalacOptions := scalacOptionsFor(scalaVersion.value, tpolecatScalacOptions.value)
),

tpolecatDevModeOptions := ScalacOptions.default,

Def.derive(
tpolecatCiModeOptions := tpolecatDevModeOptions.value + ScalacOptions.fatalWarnings
),

Def.derive(
tpolecatReleaseModeOptions := tpolecatCiModeOptions.value + ScalacOptions.optimizerMethodLocal
),

Def.derive(tpolecatScalacOptions := {
tpolecatOptionsMode.value match {
case DevMode => tpolecatDevModeOptions.value
case CiMode => tpolecatCiModeOptions.value
case ReleaseMode => tpolecatReleaseModeOptions.value
}
}),

Compile / console / tpolecatScalacOptions ~= tpolecatConsoleOptionsFilter,
Test / console / tpolecatScalacOptions ~= tpolecatConsoleOptionsFilter
)
Expand Down

0 comments on commit 31ebfff

Please sign in to comment.