Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
fix scalastyle-config
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-adam committed Jan 9, 2019
1 parent cdd3752 commit 6988a9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion build.sbt
Expand Up @@ -50,15 +50,26 @@ val jsSettings = Seq(
mainClass in Compile := mainClassSome,
scalaJSUseMainModuleInitializer := true,
coverageEnabled := true,
libraryDependencies ++= Seq(
"biz.enef" %%% "slogging-winston" % SloggingVersion,
),
)

val jvmSettings = Seq(
mainClass in Compile := mainClassSome,
scalaJSUseMainModuleInitializer := true,
coverageEnabled := true,
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
),
)

val nativeSettings = Seq(nativeLinkStubs := true)
val nativeSettings = Seq(
nativeLinkStubs := true,
libraryDependencies ++= Seq(
"biz.enef" %%% "slogging-syslog" % SloggingVersion,
),
)

lazy val re = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.withoutSuffixFor(NativePlatform)
Expand Down
2 changes: 1 addition & 1 deletion scalastyle-config.xml
Expand Up @@ -55,7 +55,7 @@
<check level="error" class="org.scalastyle.scalariform.NoFinalizeChecker" enabled="true"></check>
<check level="error" class="org.scalastyle.scalariform.CovariantEqualsChecker" enabled="true"></check>
<check level="error" class="org.scalastyle.scalariform.StructuralTypeChecker" enabled="true"></check>
<check level="warning" class="org.scalastyle.file.RegexChecker" enabled="true">
<check level="error" class="org.scalastyle.file.RegexChecker" enabled="true">
<parameters>
<parameter name="regex"><![CDATA[println]]></parameter>
</parameters>
Expand Down

0 comments on commit 6988a9b

Please sign in to comment.