Skip to content

Instantly share code, notes, and snippets.

@narma
Created January 16, 2018 08:29
Show Gist options
  • Save narma/9dda717eb117df984b37530b8072b904 to your computer and use it in GitHub Desktop.
Save narma/9dda717eb117df984b37530b8072b904 to your computer and use it in GitHub Desktop.
style = defaultWithAlign
maxColumn = 111
rewrite.rules = [
SortImports
RedundantBraces
RedundantParens
PreferCurlyFors
]
rewrite.redundantBraces.stringInterpolation = true
rewriteTokens = {
"=>" = "⇒"
"->" = "→"
"<-" = "←"
}
indentOperator = spray
# See https://github.com/scalameta/scalafmt/issues/960
project.git = false
project.excludeFilters = [
target
.ensime_cache
]
align.arrowEnumeratorGenerator = true
spaces.afterTripleEquals = true
importSelectors = singleLine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment