Skip to content

Commit 306daa4

Browse files
Revert "Setup scalafix"
This reverts commit 8861d18.
1 parent 3c44403 commit 306daa4

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

project/Build.scala

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import sbtbuildinfo.BuildInfoPlugin
2323
import sbtbuildinfo.BuildInfoPlugin.autoImport._
2424

2525
import scala.util.Properties.isJavaAtLeast
26-
import scalafix.sbt.ScalafixPlugin.autoImport._
2726

2827
/* In sbt 0.13 the Build trait would expose all vals to the shell, where you
2928
* can use them in "set a := b" like expressions. This re-exposes them.
@@ -89,6 +88,7 @@ object Build {
8988
lazy val dotr =
9089
inputKey[Unit]("run compiled binary using the correct classpath, or the user supplied classpath")
9190

91+
9292
// Compiles the documentation and static site
9393
lazy val genDocs = taskKey[Unit]("run dottydoc to generate static documentation site")
9494

@@ -114,12 +114,10 @@ object Build {
114114
organizationHomepage := Some(url("http://lamp.epfl.ch")),
115115

116116
scalacOptions ++= Seq(
117-
"-Yrangepos",
118117
"-feature",
119118
"-deprecation",
120-
"-Ywarn-unused-import",
121119
"-unchecked",
122-
// "-Xfatal-warnings",
120+
"-Xfatal-warnings",
123121
"-encoding", "UTF8",
124122
"-language:existentials,higherKinds,implicitConversions"
125123
),
@@ -747,14 +745,7 @@ object Build {
747745
def dottyCompilerSettings(implicit mode: Mode): sbt.Def.SettingsDefinition =
748746
if (mode == NonBootstrapped) nonBootstrapedDottyCompilerSettings else bootstrapedDottyCompilerSettings
749747

750-
lazy val `dotty-compiler` = project
751-
.settings(addCompilerPlugin(scalafixSemanticdb))
752-
.settings(scalafixDependencies in ThisBuild +=
753-
// "com.geirsson" %% "example-scalafix-rule" % "1.3.0"
754-
"com.twitter" %% "rsc-rules" % "0.0.0-406-6829ec44-20181004-1416"
755-
)
756-
.in(file("compiler")).asDottyCompiler(NonBootstrapped)
757-
748+
lazy val `dotty-compiler` = project.in(file("compiler")).asDottyCompiler(NonBootstrapped)
758749
lazy val `dotty-compiler-bootstrapped` = project.in(file("compiler")).asDottyCompiler(Bootstrapped)
759750

760751
def dottyCompiler(implicit mode: Mode): Project = mode match {

project/plugins.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,3 @@ addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.10.1")
1616
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.2")
1717

1818
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
19-
20-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0")

0 commit comments

Comments
 (0)