-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scalafmt to newest (close #173)
- Loading branch information
1 parent
9f871d0
commit d7ea335
Showing
5 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
version = "2.6.3" | ||
version = "2.6.4" | ||
style = default | ||
align = some | ||
maxColumn = 120 | ||
docstrings = JavaDoc | ||
optIn.breakChainOnFirstMethodDot = true | ||
spaces.afterKeywordBeforeParen = true | ||
optIn.breakChainOnFirstMethodDot = false | ||
assumeStandardLibraryStripMargin = true | ||
align = most | ||
align.tokens.add = ["|", "!", "!!", "||", "=>", "=", "->", "<-", "|@|", "//", "/", "+", "%", "%%"] | ||
continuationIndent.defnSite = 2 | ||
importSelectors = noBinPack | ||
rewrite.rules = [ | ||
AsciiSortImports, | ||
RedundantBraces, | ||
RedundantParens, | ||
PreferCurlyFors | ||
] | ||
align.tokens = ["|", "!", "!!", "||", "=>", "=", "->", "<-", "|@|", "//", "/", "+"] | ||
AvoidInfix, | ||
PreferCurlyFors, | ||
RedundantBraces, | ||
RedundantParens, | ||
SortModifiers | ||
] | ||
project.git = true | ||
includeNoParensInSelectChains = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,6 @@ import Keys._ | |
import bintray.BintrayPlugin._ | ||
import bintray.BintrayKeys._ | ||
|
||
// Scalafmt | ||
import org.scalafmt.sbt.ScalafmtPlugin.autoImport._ | ||
|
||
// Docs | ||
import sbtunidoc.ScalaUnidocPlugin.autoImport._ | ||
import com.typesafe.sbt.site.SitePlugin.autoImport._ | ||
|
@@ -31,8 +28,8 @@ object BuildSettings { | |
|
||
// Basic settings for our app | ||
lazy val buildSettings = Seq[Setting[_]]( | ||
organization := "com.snowplowanalytics", | ||
scalaVersion := "2.12.8", | ||
organization := "com.snowplowanalytics", | ||
scalaVersion := "2.12.8" | ||
) | ||
|
||
// Publish settings | ||
|
@@ -45,10 +42,10 @@ object BuildSettings { | |
bintrayRepository := "snowplow-maven", | ||
pomIncludeRepository := { _ => false }, | ||
homepage := Some(url("http://snowplowanalytics.com")), | ||
scmInfo := Some(ScmInfo(url("https://github.com/snowplow/scala-forex"), | ||
"scm:[email protected]:snowplow/scala-forex.git")), | ||
pomExtra := ( | ||
<developers> | ||
scmInfo := Some( | ||
ScmInfo(url("https://github.com/snowplow/scala-forex"), "scm:[email protected]:snowplow/scala-forex.git") | ||
), | ||
pomExtra := (<developers> | ||
<developer> | ||
<name>Snowplow Analytics Ltd</name> | ||
<email>support@snowplowanalytics.com</email> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters