Skip to content

Commit 56460b4

Browse files
committed
style: Small tweaks
1 parent 81b0a4b commit 56460b4

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.scalafmt.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
version = "2.3.2"
2-
edition = "2019-10"
32

43
maxColumn = 140
54
assumeStandardLibraryStripMargin = true

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,5 +383,5 @@ lazy val sslConfig = project
383383
)
384384
)
385385

386-
addCommandAlias("check", "; scalafmtSbtCheck; scalafmtCheckAll; compile:scalafix --check; test:scalafix --check")
387-
addCommandAlias("fix", "; compile:scalafix; test:scalafix; scalafmtSbt; scalafmtAll; example/mdoc")
386+
addCommandAlias("checkAll", "; scalafmtSbtCheck; scalafmtCheckAll; compile:scalafix --check; test:scalafix --check; test")
387+
addCommandAlias("fixAll", "; compile:scalafix; test:scalafix; scalafmtSbt; scalafmtAll; example/mdoc")

project/BuildSettings.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ object BuildSettings {
1010
libraryDependencies ++= Seq(
1111
compilerPlugin(Dependencies.kindProjector),
1212
compilerPlugin(Dependencies.silencer),
13-
compilerPlugin(scalafixSemanticdb), // for scalafix
13+
compilerPlugin(scalafixSemanticdb), // for Scalafix
1414
Dependencies.silencerLib
1515
),
1616
Compile / compile / wartremoverErrors ++= Warts.all filterNot Set(
17-
Wart.Null, // checked by scalafix
17+
Wart.Null, // checked by Scalafix
1818
Wart.Nothing, // keep, false positives all around
1919
Wart.Overloading,
2020
Wart.Any, // keep, false positives all around
21-
Wart.Equals, // checked by scalafix
22-
Wart.ToString, // checked by scalafix
23-
Wart.Product, // checked by scalafix
24-
Wart.Serializable, // checked by scalafix
21+
Wart.Equals, // checked by Scalafix
22+
Wart.ToString, // checked by Scalafix
23+
Wart.Product, // checked by Scalafix
24+
Wart.Serializable, // checked by Scalafix
2525
Wart.DefaultArguments // for constructors for PureConfig
2626
),
2727
ThisBuild / scalafixDependencies ++= Seq(
2828
Dependencies.scalazzi,
2929
Dependencies.sortImports
3030
),
3131
scalacOptions ++= Seq(
32-
"-Yrangepos", // for scalafix. required by SemanticDB compiler plugin
33-
"-Ywarn-unused", // for scalafix. not present in sbt-tpolecat for 2.13
32+
"-Yrangepos", // for Scalafix. required by SemanticDB compiler plugin
33+
"-Ywarn-unused", // for Scalafix. not present in sbt-tpolecat for 2.13
3434
"-P:silencer:checkUnused"
3535
),
3636
Test / publishArtifact := false,

0 commit comments

Comments
 (0)