-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from laserdisc-io/scala3
Issue #423 - Scala 3 Support
- Loading branch information
Showing
45 changed files
with
315 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
target/ | ||
.idea/ | ||
.bsp/ | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,47 @@ | ||
version = 3.4.0 | ||
|
||
runner.dialect = scala213 | ||
version=3.8.1 | ||
|
||
maxColumn = 140 | ||
style = default | ||
align.preset = more | ||
maxColumn = 140 | ||
|
||
rewrite.sortModifiers.order = [ | ||
"override" | ||
"private" | ||
"protected" | ||
"implicit" | ||
"final" | ||
"sealed" | ||
"abstract" | ||
"lazy" | ||
] | ||
runner.dialect = scala213source3 | ||
fileOverride { | ||
"glob:**/scala-3/**" { runner.dialect = scala3 } | ||
} | ||
|
||
danglingParentheses.preset = true | ||
docstrings.wrap = "no" | ||
|
||
rewrite.rules = [ | ||
SortModifiers | ||
AvoidInfix | ||
RedundantBraces | ||
RedundantParens | ||
AsciiSortImports | ||
PreferCurlyFors | ||
SortModifiers | ||
Imports | ||
] | ||
|
||
spaces.inByNameTypes = false | ||
|
||
rewrite.redundantBraces.stringInterpolation = true | ||
rewrite.redundantBraces.includeUnitMethods = true | ||
rewrite.neverInfix.excludeFilters = [until | ||
to | ||
by | ||
eq | ||
ne | ||
"should.*" | ||
"contain.*" | ||
"must.*" | ||
in | ||
be | ||
taggedAs | ||
thrownBy | ||
synchronized | ||
have | ||
when | ||
size | ||
theSameElementsAs | ||
at | ||
can | ||
should] | ||
|
||
newlines.afterCurlyLambda = preserve | ||
newlines.neverInResultType = true | ||
newlines.beforeMultilineDef = keep | ||
newlines.sometimesBeforeColonInMethodReturnType = false | ||
newlines.penalizeSingleSelectMultiArgList = false | ||
rewrite.imports.sort = original | ||
newlines.implicitParamListModifierPrefer = before |
6 changes: 3 additions & 3 deletions
6
...disc/mysql/binlog/models/BinaryLogs.scala → ...disc/mysql/binlog/models/BinaryLogs.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...l/binlog/models/DeleteRowsEventData.scala → ...l/binlog/models/DeleteRowsEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/mysql/binlog/models/EventHeaderV4.scala → ...c/mysql/binlog/models/EventHeaderV4.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../mysql/binlog/models/QueryEventData.scala → .../mysql/binlog/models/QueryEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...mysql/binlog/models/RotateEventData.scala → ...mysql/binlog/models/RotateEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../mysql/binlog/models/SchemaMetadata.scala → .../mysql/binlog/models/SchemaMetadata.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sql/binlog/models/TableMapEventData.scala → ...sql/binlog/models/TableMapEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
...l/binlog/models/UpdateRowsEventData.scala → ...l/binlog/models/UpdateRowsEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...ql/binlog/models/WriteRowsEventData.scala → ...ql/binlog/models/WriteRowsEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sc/mysql/binlog/models/XidEventData.scala → ...sc/mysql/binlog/models/XidEventData.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
...ql/binlog/models/SchemaMetadataTest.scala → ...ql/binlog/models/SchemaMetadataTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...serdisc/mysql/binlog/client/package.scala → ...serdisc/mysql/binlog/client/package.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...disc/mysql/binlog/database/database.scala → ...disc/mysql/binlog/database/database.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.