Skip to content
Permalink
Browse files

Add scalafmt config

  • Loading branch information...
travisbrown committed May 31, 2019
1 parent c4de2d5 commit e9fe9e66027c2c8a8abcd41fb5c468474e419cb8
Showing with 12 additions and 1 deletion.
  1. +10 −0 .scalafmt.conf
  2. +1 −1 .travis.yml
  3. +1 −0 project/plugins.sbt
@@ -0,0 +1,10 @@
version = 2.0.0-RC5
continuationIndent.defnSite = 2
docstrings = JavaDoc
includeCurlyBraceInSelectChains = false
maxColumn = 120
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.alwaysBeforeMultilineDef = false
optIn.breakChainOnFirstMethodDot = false
spaces.inImportCurlyBraces = true

@@ -14,4 +14,4 @@ install:
- pip install --user codecov

script:
sbt ++$TRAVIS_SCALA_VERSION clean coverage test scalastyle unidoc coverageReport && codecov;
sbt ++$TRAVIS_SCALA_VERSION clean coverage test scalastyle scalafmtCheck scalafmtSbtCheck test:scalafmtCheck unidoc coverageReport && codecov;
@@ -4,6 +4,7 @@ addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.6")

0 comments on commit e9fe9e6

Please sign in to comment.
You can’t perform that action at this time.