Skip to content

Commit

Permalink
more about autoformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 14, 2017
1 parent ebf5721 commit 66cfd08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ object BuildSettings {
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(CompactControlReadability, true)
.setPreference(DanglingCloseParenthesis, Prevent)
.setPreference(NewlineAtEndOfFile, true))
.setPreference(DanglingCloseParenthesis, Prevent))

def defaultDeps = Seq(scalaz, scalalib, jodaTime, ws, java8compat)

Expand Down
2 changes: 2 additions & 0 deletions project/MessageCompiler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ object MessageCompiler {
s"""package lila.i18n
package db

// format: OFF
object Registry {

def load = Map[String, Map[String, String]]($content)
Expand All @@ -57,6 +58,7 @@ object Registry {
s"""package lila.i18n
package db

// format: OFF
private object $lang {

def load = Map[String, String]($content)
Expand Down

0 comments on commit 66cfd08

Please sign in to comment.