Skip to content

Instantly share code, notes, and snippets.

@silverbeak
Created November 12, 2021 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silverbeak/76219f996dc7326edf4ca142eb9766b4 to your computer and use it in GitHub Desktop.
Save silverbeak/76219f996dc7326edf4ca142eb9766b4 to your computer and use it in GitHub Desktop.
version = "3.0.6"
maxColumn = 100
importSelectors = singleLine
includeCurlyBraceInSelectChains = true
danglingParentheses.defnSite = true
danglingParentheses.callSite = true
danglingParentheses.ctrlSite = false
optIn.breakChainOnFirstMethodDot = true
optIn.breaksInsideChains = true
align.tokens = [
{code = "=>", owner = "Case"}
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"}
]
rewrite.rules = [RedundantBraces, RedundantParens, SortModifiers, PreferCurlyFors]
rewrite.redundantBraces.stringInterpolation = true
rewrite.redundantBraces.generalExpressions = false
verticalMultiline.atDefnSite = false
verticalMultiline.arityThreshold = 100
verticalMultiline.newlineBeforeImplicitKW = false
verticalMultiline.newlineAfterImplicitKW = false
verticalMultiline.newlineAfterOpenParen = false
verticalAlignMultilineOperators = false
binPack.parentConstructors = Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment