Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
124 lines (107 sloc) 3.94 KB
# General
version = "1.6.0-RC4"
style = defaultWithAlign
maxColumn = 120
docstrings = ScalaDoc
# Indentation and Alignment
continuationIndent.callSite = 2
continuationIndent.defnSite = 4
continuationIndent.extendSite = 4
indentOperator = spray
indentOperator.exclude = "^(::|&&|\\|)$"
align = none
align.ifWhileOpenParen = true
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [
{code = ":", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))"},
{code = "←", owner = "Enumerator.Generator"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "→", owner = "Term.ApplyInfix"},
{code = "=", owner = "(numerator.Val|Defn.(Va(l|r)|Def|Type))"},
{code = "<-", owner = "Enumerator.Generator"},
{code = "//", owner = ".*"},
{code = "->", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"},
{code = "}", owner = Template},
{code = "=>", owner = Case}]
align.arrowEnumeratorGenerator = true
align.tokenCategory.Equals = Assign
align.tokenCategory.LeftArrow = Assign
spaces.beforeContextBoundColon = never
spaces.afterTripleEquals = false
spaces.inImportCurlyBraces = false
spaces.inParentheses = false
spaces.neverAroundInfixTypes = []
spaces.afterKeywordBeforeParen = true
spaces.inByNameTypes = true
spaces.afterSymbolicDefs = false
newlines.neverInResultType = false
newlines.neverBeforeJsNative = false
newlines.sometimesBeforeColonInMethodReturnType = true
newlines.penalizeSingleSelectMultiArgList = false
newlines.alwaysBeforeCurlyBraceLambdaParams = false
newlines.alwaysBeforeTopLevelStatements = false
newlines.afterCurlyLambda = never
newlines.afterImplicitKWInVerticalMultiline = true
newlines.beforeImplicitKWInVerticalMultiline = false
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.alwaysBeforeMultilineDef = true
verticalMultilineAtDefinitionSite = false
verticalMultilineAtDefinitionSiteArityThreshold = 100
verticalMultiline.atDefnSite = false
verticalMultiline.arityThreshold = 100
verticalMultiline.newlineAfterImplicitKW = true
verticalMultiline.newlineBeforeImplicitKW = false
verticalMultiline.newlineAfterOpenParen = true
verticalMultiline.excludeDanglingParens = []
# Rewrite Rules
rewrite.rules = [RedundantParens, SortImports, SortModifiers]
rewrite.redundantBraces.methodBodies = true
rewrite.redundantBraces.includeUnitMethods = true
rewrite.redundantBraces.maxLines = 100
rewrite.redundantBraces.stringInterpolation = false
rewrite.redundantBraces.generalExpressions = false
rewrite.sortModifiers.order = [implicit, final, sealed, abstract, override, private, protected, lazy]
# Miscellaneous
project.git = true
lineEndings = unix
encoding = "UTF-8"
binPack.unsafeCallSite = false
binPack.unsafeDefnSite = false
binPack.parentConstructors = false
binPack.literalArgumentLists = true
binPack.literalsMinArgCount = 5
binPack.literalsInclude = [".*"]
binPack.literalsExclude = [String, "Term.Name"]
optIn.configStyleArguments = true
optIn.breaksInsideChains = true
optIn.breakChainOnFirstMethodDot = false
optIn.selfAnnotationNewline = true
optIn.annotationNewlines = true
optIn.blankLineBeforeDocstring = false
indentYieldKeyword = true
importSelectors = nobinpack
unindentTopLevelOperators = true
includeCurlyBraceInSelectChains = true
assumeStandardLibraryStripMargin = false
danglingParentheses = true
poorMansTrailingCommasInConfigStyle = false
trailingCommas = never
onTestFailure = ""
runner.debug = false
runner.optimizer.dequeueOnNewStatements = true
runner.optimizer.escapeInPathologicalCases = true
runner.optimizer.maxVisitsPerToken = 513
runner.optimizer.maxEscapes = 16
runner.optimizer.maxDepth = 100
runner.optimizer.acceptOptimalAtHints = true
runner.optimizer.disableOptimizationsInsideSensitiveAreas = true
runner.optimizer.pruneSlowStates = true
runner.optimizer.recurseOnBlocks = true
runner.optimizer.forceConfigStyleOnOffset = 150
runner.optimizer.forceConfigStyleMinArgCount = 2
runner.maxStateVisits = 1000000
runner.dialect = "scala212"
runner.ignoreWarnings = false
runner.fatalWarnings = false