Skip to content

Commit

Permalink
Scalafix targetDialect and a Scalafmt upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Sep 5, 2024
1 parent 05a0745 commit 4b749f1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .scalafix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ rules = [

OrganizeImports {
removeUnused = false
targetDialect = Scala3
}

DisableSyntax {
Expand Down
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.2
version = 3.8.3
runner.dialect = scala3
style = defaultWithAlign
maxColumn = 120
Expand Down
2 changes: 1 addition & 1 deletion sandbox-zio/src/main/scala/example/SandboxZIO.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package example

import tyrian.Html.*
import tyrian.*
import tyrian.Html.*
import tyrian.cmds.Logger
import tyrian.cmds.Random
import zio.*
Expand Down
2 changes: 1 addition & 1 deletion sandbox/src/main/scala/example/Sandbox.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package example

import cats.effect.IO
import org.scalajs.dom
import tyrian.*
import tyrian.Html.*
import tyrian.SVG.*
import tyrian.*
import tyrian.cmds.Dom
import tyrian.cmds.File
import tyrian.cmds.FileReader
Expand Down
2 changes: 1 addition & 1 deletion tyrian/src/main/scala/tyrian/cmds/LocalStorage.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tyrian.cmds

import cats.effect.kernel.Async
import cats.syntax.bifunctor._
import cats.syntax.bifunctor.*
import org.scalajs.dom
import tyrian.Cmd

Expand Down
2 changes: 1 addition & 1 deletion tyrian/src/main/scala/tyrian/http/Request.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package tyrian.http

import scala.concurrent.duration._
import scala.concurrent.duration.*

/** Describes an HTTP request.
* @param method
Expand Down

0 comments on commit 4b749f1

Please sign in to comment.