Skip to content

Commit 496f380

Browse files
authored
Merge pull request #1724 from scalacenter/update-scala
chore: Update Scala to 3.3.8
2 parents 6573347 + 7e5836e commit 496f380

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ lazy val isCI: Boolean = System.getenv("CI") != null
55

66
inThisBuild(
77
List(
8-
scalaVersion := "3.3.5",
8+
scalaVersion := "3.3.8",
99
semanticdbEnabled := true,
1010
semanticdbVersion := scalafixSemanticdb.revision,
1111
// scalafixScalaBinaryVersion := "3",

modules/infra/src/it/scala/scaladex/infra/GithubClientImplTests.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import scala.concurrent.duration.*
66

77
import org.apache.pekko.actor.ActorSystem
88
import org.scalactic.source.Position
9-
import org.scalatest.compatible.Assertion
109
import org.scalatest.funspec.AsyncFunSpec
1110
import org.scalatest.matchers.should.Matchers
1211
import scaladex.core.model.GithubResponse

modules/webclient/src/main/scala/scaladex/client/Autocompletion.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package scaladex.client
22

3+
import scala.annotation.nowarn
34
import scala.concurrent.ExecutionContext
45

56
import scaladex.core.api.AutocompletionResponse
@@ -23,6 +24,7 @@ class Autocompletion(using ExecutionContext):
2324

2425
private var completionSelection = CompletionSelection.empty
2526

27+
@nowarn("msg=unused explicit parameter")
2628
def run(event: dom.Event): Unit =
2729
Dom.getSearchRequest match
2830
case Some(request) =>

modules/webclient/src/main/scala/scaladex/client/ChartJS.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ trait PluginOptions extends js.Object:
7777
def tooltip: TooltipOptions = js.native
7878
def legend: LegendOptions = js.native
7979
object PluginOptions:
80-
def apply(tooltip: TooltipOptions, legend: LegendOptions): PluginOptions =
80+
def apply(legend: LegendOptions): PluginOptions =
8181
js.Dynamic.literal(legend = legend).asInstanceOf[PluginOptions]
8282

8383
@js.native

modules/webclient/src/main/scala/scaladex/client/Sparkline.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ object Sparkline:
2929

3030
val chartOptions = ChartOptions(
3131
plugins = PluginOptions(
32-
tooltip = TooltipOptions(enabled = false),
3332
legend = LegendOptions(display = false, FontOptions(size = 10))
3433
),
3534
elements = ElementOptions(

0 commit comments

Comments
 (0)