Skip to content

Instantly share code, notes, and snippets.

@zhrebicek
Last active September 5, 2018 16:31
Show Gist options
  • Save zhrebicek/c71cc763d94224d749adba87519ca87d to your computer and use it in GitHub Desktop.
Save zhrebicek/c71cc763d94224d749adba87519ca87d to your computer and use it in GitHub Desktop.
InteliJ IDEA scalafmt configuration
style = default
maxColumn = 100
lineEndings = unix
encoding = UTF-8
continuationIndent.defnSite = 4
continuationIndent.extendSite = 2,
align.openParenDefnSite = false
align.openParenCallSite = false
align.tokens = []
newlines.alwaysBeforeTopLevelStatements = false
docstrings = ScalaDoc
align.ifWhileOpenParen = true
danglingParentheses = false
rewrite.rules = [ RedundantParens, RedundantBraces ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment