Skip to content

Conversation

@chenghsienwen
Copy link

No description provided.

Copy link
Owner

@blair blair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this.

I believe in one logical change per one commit, so can you split this up into multiple commits please. For example, all the whitespace formatting should be done in a separate commit.

@@ -1,4 +1,5 @@
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra whitespace.

"2.11.0-M7")
"2.11.0-M7", "2.12.8")

// resolvers in Global ++= Seq(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't include commented out lines in general. What is the intention of this?

"-feature" :: "-language:implicitConversions" :: options2
}
}
// scalacOptions <++= scalaVersion map { v: String =>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete commented out code.

setPreference(AlignParameters, true).
setPreference(CompactControlReadability, true).
setPreference(DoubleIndentClassDeclaration, true)
ScalariformKeys.preferences := FormattingPreferences().
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants