Skip to content

Commit

Permalink
Refactor build.sbt to enable all warnings and remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cheleb committed Oct 6, 2024
1 parent 10418eb commit 707a867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ inThisBuild(
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Xfatal-warnings"
"-Xfatal-warnings",
"-Wunused:all"
),
wartremoverErrors ++= Warts.all
)
Expand Down Expand Up @@ -78,8 +79,7 @@ val usedScalacOptions = Seq(
"-unchecked",
"-language:higherKinds",
"-language:implicitConversions",
"-Xmax-inlines:64",
"-Wunused:all"
"-Xmax-inlines:64"
)

lazy val shared = crossProject(JSPlatform, JVMPlatform)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package dev.cheleb.ziojwt

import sttp.model.Uri

/** A trait to represent a token with an expiration date.
*/
trait WithToken {
Expand Down

0 comments on commit 707a867

Please sign in to comment.