Skip to content

Commit

Permalink
passing all available resolvers to scalafmt #62 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
poslegm authored Mar 5, 2020
1 parent 187da42 commit 40bc598
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ object ScalafmtPlugin extends AutoPlugin {
scalaConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
},
scalafmtIncremental := scalafmt.value,
Expand All @@ -324,14 +324,14 @@ object ScalafmtPlugin extends AutoPlugin {
sbtConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
formatSources(
metabuildSources.value.toSet,
scalaConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
},
scalafmtCheck := {
Expand All @@ -341,7 +341,7 @@ object ScalafmtPlugin extends AutoPlugin {
scalaConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
trueOrBoom(analysis)
},
Expand All @@ -352,7 +352,7 @@ object ScalafmtPlugin extends AutoPlugin {
sbtConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
)
trueOrBoom(
Expand All @@ -361,7 +361,7 @@ object ScalafmtPlugin extends AutoPlugin {
scalaConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
)
},
Expand Down Expand Up @@ -392,7 +392,7 @@ object ScalafmtPlugin extends AutoPlugin {
scalaConfig.value,
streams.value.log,
outputStreamWriter(streams.value),
resolvers.value
fullResolvers.value
)
}
)
Expand Down

0 comments on commit 40bc598

Please sign in to comment.