Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.
/ scalazzi Public archive

enforce the Scalazzi subset of Scala with scalafix

License

Notifications You must be signed in to change notification settings

scalaz/scalazzi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scalazzi

This project is configuration to enforce the scalazzi safe subset of scala with scalafix.

To install, first install the beta version of scalafix, e.g. in project/plugins.sbt

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.6.0-M12")

and enable the compiler plugin for each project in build.sbt

scalacOptions += "-Yrangepos"
addCompilerPlugin(scalafixSemanticdb)

If anything goes wrong, you can ask on the scalacenter/scalafix channel but be aware that this is a pre-release and you are expected to read the scalafix and sbt-scalafix source code rather than refer to the older release's documentation.

Copy the scalafix.conf from here to .scalafix.conf in your project root and run scalafix in your sbt shell.

As an added bonus, you are also now set up to beta test Metals and Metadoc.

If you would like to contribute to this initiative you can:

About

enforce the Scalazzi subset of Scala with scalafix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published