mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-23 10:39:57 +00:00
exception safety, github actions and scalafmt
This commit is contained in:
35
.scalafmt.conf
Normal file
35
.scalafmt.conf
Normal file
@ -0,0 +1,35 @@
|
||||
version = 3.3.1
|
||||
|
||||
runner.dialect = "scala213"
|
||||
|
||||
maxColumn = 120
|
||||
|
||||
align.preset = none
|
||||
|
||||
continuationIndent {
|
||||
defnSite = 2
|
||||
extendSite = 2
|
||||
}
|
||||
|
||||
rewrite {
|
||||
rules = [
|
||||
AvoidInfix,
|
||||
RedundantBraces,
|
||||
RedundantParens,
|
||||
SortImports,
|
||||
SortModifiers
|
||||
]
|
||||
|
||||
redundantBraces {
|
||||
generalExpressions = yes
|
||||
ifElseExpressions = yes
|
||||
includeUnitMethods = yes
|
||||
methodBodies = yes
|
||||
parensForOneLineApply = yes
|
||||
stringInterpolation = yes
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
importSelectors = singleLine
|
||||
trailingCommas = preserve
|
Reference in New Issue
Block a user