Skip to content

Instantly share code, notes, and snippets.

@x7c1
Created May 24, 2018 15:21
Show Gist options
  • Select an option

  • Save x7c1/8857d2f62dcf96467a26b8a465dc6d75 to your computer and use it in GitHub Desktop.

Select an option

Save x7c1/8857d2f62dcf96467a26b8a465dc6d75 to your computer and use it in GitHub Desktop.
# http://scalameta.org/scalafmt/#Configuration
align {
openParenCallSite = false
openParenDefnSite = false
}
align = false
assumeStandardLibraryStripMargin = true
continuationIndent {
extendSite = 2
defnSite = 4
}
danglingParentheses = false
docstrings = JavaDoc
importSelectors = singleLine
includeCurlyBraceInSelectChains = true
indentOperator {
exclude = "and|[+*-/]|&&|\\|\\|"
}
maxColumn = 90
newlines {
alwaysBeforeTopLevelStatements = true
alwaysBeforeElseAfterCurlyIf = false
}
optIn {
breakChainOnFirstMethodDot = true
configStyleArguments = true
}
project.git = true
rewrite.rules = [
AsciiSortImports,
RedundantParens,
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment