Permalink
Browse files

Adding Scalariform plugin to sbt (with manual formatting only)

  • Loading branch information...
atooni committed Sep 10, 2018
1 parent 7a2b968 commit 1c90c28e8f40799fc6d3e09075e7ae22c50a60a4
Showing with 37 additions and 6 deletions.
  1. +0 −6 .scalafmt.conf
  2. +33 −0 .scalariform.com
  3. +3 −0 build.sbt
  4. +1 −0 project/plugins.sbt

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,33 @@
autoformat=false
withBaseDirectory=true
#alignArguments=false
alignParameters=true
alignSingleLineCaseStatements=true
#alignSingleLineCaseStatements.maxArrowIndent=40
#allowParamGroupsOnNewlines=false
#compactControlReadability=false
#compactStringConcatenation=false
danglingCloseParenthesis=Force
#doubleIndentClassDeclaration=false
#doubleIndentConstructorArguments=false
#doubleIndentMethodDeclaration=false
#firstArgumentOnNewline=Force
#firstParameterOnNewline=Force
#formatXml=true
#indentLocalDefs=false
#indentPackageBlocks=true
#indentSpaces=2
#indentWithTabs=false
#multilineScaladocCommentsStartOnFirstLine=false
#newlineAtEndOfFile=false
#placeScaladocAsterisksBeneathSecondAsterisk=false
#preserveSpaceBeforeArguments=false
#rewriteArrowSymbols=false
#singleCasePatternOnNewline=true
#spaceBeforeColon=false
#spaceBeforeContextColon=false
#spaceInsideBrackets=false
#spaceInsideParentheses=false
#spacesAroundMultiImports=true
#spacesWithinPatternBinders=true
@@ -27,6 +27,9 @@ inThisBuild(Seq(
scalaVersion := "2.12.6",
scalacOptions ++= Seq("-deprecation", "-feature", "-Xlint", "-Ywarn-nullary-override"),
scalariformAutoformat := false,
scalariformWithBaseDirectory := true,
// essential to not try to compile pom.scala files, only required until migration to sbt is complete
sourcesInBase := false,
publishMavenStyle := true,
@@ -9,3 +9,4 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.13.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.4")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.0.0")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2")

0 comments on commit 1c90c28

Please sign in to comment.