1 Star 1 Fork 0

XiangShan / difftest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.scalafmt.conf 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
xuyinan 提交于 2024-01-30 12:09 . Update the scalafmt configuration (#275)
# This file is partially adapted from github/alejandrohdezma/sbt-scalafmt-defaults at
# https://github.com/alejandrohdezma/sbt-scalafmt-defaults/blob/main/.scalafmt.conf
# Some changes have been made against the original file based on the scalafmt doc.
version = "3.7.17"
runner.dialect = scala213
preset = default
maxColumn = 120
indent.defnSite = 2
indent.extendSite = 2
newlines.avoidForSimpleOverflow=[slc, tooLong]
assumeStandardLibraryStripMargin = true
align.stripMargin = true
align.preset = some
align.multiline = false
binPack.literalsIncludeSimpleExpr = true
binPack.literalsExclude = [ "Term.Name" ]
docstrings.style = keep
rewrite.rules = [
AvoidInfix,
RedundantParens,
SortModifiers,
PreferCurlyFors,
Imports
]
rewrite.redundantBraces.methodBodies = false
rewrite.redundantBraces.stringInterpolation = false
rewrite.imports.sort = scalastyle
rewrite.trailingCommas.style = multiple
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}
includeCurlyBraceInSelectChains = false
project.includePaths = ["glob:**.scala", "glob:**.sbt", "glob:**.sc", "glob:**.md"]
project.excludePaths = ["glob:**metals.sbt"]
C/C++
1
https://gitee.com/OpenXiangShan/difftest.git
git@gitee.com:OpenXiangShan/difftest.git
OpenXiangShan
difftest
difftest
master

搜索帮助