kyuubi/.scalafmt.conf
huapan b0afe7b5d6
[KYUUBI #4696] Upgrade scalafmt from 3.7.1 to 3.7.3
### _Why are the changes needed?_

Close #4696

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4705 from huapan123456/feat-upgrade-scalafmt.

Closes #4696

434f94ddb [huapan] update(#4696): add some comment
7f8d7bd50 [huapan] fix(#4696): fix all
41dba1e6f [huapan] feat(#4696): upgrade scalafmt from 3.7.1 to 3.7.3

Authored-by: huapan <huapan@52tt.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2023-04-14 11:58:19 +08:00

29 lines
715 B
Plaintext

version = 3.7.3
runner.dialect=scala212
project.git=true
align.preset = none
align.openParenDefnSite = false
align.openParenCallSite = false
align.stripMargin = true
align.tokens = []
assumeStandardLibraryStripMargin = true
danglingParentheses.preset = false
docstrings.style = Asterisk
docstrings.wrap = no
importSelectors = singleLine
indent.extendSite = 2
literals.hexDigits = Upper
maxColumn = 100
newlines.source = keep
newlines.topLevelStatementBlankLines = []
optIn.configStyleArguments = false
rewrite.imports.groups = [
["javax?\\..*"],
["scala\\..*"],
["(?!org\\.apache\\.kyuubi\\.).*"],
["org\\.apache\\.kyuubi\\..*"]
]
rewrite.imports.sort = scalastyle
rewrite.rules = [Imports, SortModifiers]