File tree Expand file tree Collapse file tree 3 files changed +61
-0
lines changed
samples/server/petstore/scala-pekko-http-server Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ .scalafmt.conf
12README.md
23build.sbt
4+ project/plugins.sbt
35src/main/scala/org/openapitools/server/AkkaHttpHelper.scala
46src/main/scala/org/openapitools/server/Controller.scala
57src/main/scala/org/openapitools/server/MultipartDirectives.scala
Original file line number Diff line number Diff line change 1+ version =3.10 .6
2+ runner.dialect = scala213
3+ project {
4+ git = false
5+ excludeFilters = [
6+ scalafmt-benchmarks/src/resources ,
7+ sbt-test
8+ bin/issue
9+ ]
10+ layout = StandardConvention
11+ }
12+ align {
13+ preset = none
14+ stripMargin = true
15+ }
16+ binPack {
17+ importSelectors = fold
18+ }
19+ newlines {
20+ avoidForSimpleOverflow = all
21+ ignoreInSyntax = false
22+ source = fold
23+ }
24+ rewrite {
25+ rules = [
26+ AvoidInfix ,
27+ Imports ,
28+ RedundantBraces ,
29+ RedundantParens ,
30+ SortModifiers ,
31+ ]
32+ imports {
33+ selectors = fold
34+ removeRedundantSelectors = true
35+ sort = ascii
36+ groups = [
37+ ["org\\ .scalafmt\\ ..*" ],
38+ ["scala\\ .meta\\ ..*" , "org\\ .scalameta\\ ..*" ],
39+ ["sbt\\ ..*" ],
40+ ["java.?\\ ..*" ],
41+ ["scala\\ ..*" ],
42+ ["org\\ ..*" ],
43+ ["com\\ ..*" ],
44+ ]
45+ }
46+ redundantBraces {
47+ preset = all
48+ oneStatApply {
49+ parensMaxSpan = 300
50+ bracesMinSpan = 300
51+ }
52+ }
53+ redundantParens {
54+ preset = all
55+ }
56+ sortModifiers.preset = styleGuide
57+ trailingCommas.style = "always"
58+ }
Original file line number Diff line number Diff line change 1+ addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.6" )
You can’t perform that action at this time.
0 commit comments