Skip to content

Commit

Permalink
Update scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Nov 14, 2022
1 parent 9d0cb56 commit 38ca3e0
Showing 1 changed file with 41 additions and 22 deletions.
63 changes: 41 additions & 22 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,22 +1,40 @@
version = 3.0.8

style = defaultWithAlign

docstrings.style = Asterisk
docstrings.wrap = no
indentOperator.preset = spray
maxColumn = 120
rewrite.rules = [RedundantParens, SortImports, AvoidInfix]
unindentTopLevelOperators = true
align.tokens = [{code = "=>", owner = "Case"}]
align.openParenDefnSite = false
align.openParenCallSite = false
optIn.breakChainOnFirstMethodDot = false
optIn.configStyleArguments = false
danglingParentheses.defnSite = false
danglingParentheses.callSite = false
spaces.inImportCurlyBraces = true
rewrite.neverInfix.excludeFilters = [
version = 3.6.1
runner.dialect = scala213
project.git = true
style = defaultWithAlign
docstrings.style = Asterisk
docstrings.wrap = false
indentOperator.preset = spray
maxColumn = 120
lineEndings = preserve
rewrite.rules = [RedundantParens, SortImports, AvoidInfix]
indentOperator.exemptScope = all
align.preset = some
align.tokens."+" = [
{
code = "~>"
owners = [
{ regex = "Term.ApplyInfix" }
]
}
]
literals.hexDigits = upper
literals.hexPrefix = lower
binPack.unsafeCallSite = always
binPack.unsafeDefnSite = always
binPack.indentCallSiteSingleArg = false
binPack.indentCallSiteOnce = true
newlines.avoidForSimpleOverflow = [slc]
newlines.source = keep
newlines.beforeMultiline = keep
align.openParenDefnSite = false
align.openParenCallSite = false
align.allowOverflow = true
optIn.breakChainOnFirstMethodDot = false
optIn.configStyleArguments = false
danglingParentheses.preset = false
spaces.inImportCurlyBraces = true
rewrite.neverInfix.excludeFilters = [
and
min
max
Expand Down Expand Up @@ -46,11 +64,12 @@ rewrite.neverInfix.excludeFilters = [
allElementsOf
inOrderElementsOf
theSameElementsAs
theSameElementsInOrderAs
]
rewriteTokens = {
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}
newlines.afterCurlyLambda = preserve
newlines.implicitParamListModifierPrefer = before
project.layout = StandardConvention

0 comments on commit 38ca3e0

Please sign in to comment.