8000 GitHub - yufangong/scala-rewrites: Scalafix Rewrites for Scala
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yufangong/scala-rewrites

 
 

Repository files navigation

Scalafix Rewrites for Scala

To develop the rule

sbt ~tests/test
# edit rewrites/src/main/scala/fix/Scala_2_13.scala

To run the rule

  1. Publish the rule: publishLocal
  2. Add sbt-scalafix: addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.4")
  3. Add SemanticDB: addCompilerPlugin(scalafixSemanticdb)
  4. Configure Semantic DB: scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
  5. Run the rule: scalafix dependency:Scala_2_13@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT
  6. Run the rule on test sources: Test/scalafix dependency:Scala_2_13@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT

About

Scalafix Rewrites for Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%
0