Skip to content

Commit

Permalink
CompilationTests
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Apr 11, 2021
1 parent d882eea commit c0ba29b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/scala/io/github/nafg/scalacoptions/CompilationTests.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package io.github.nafg.scalacoptions

import io.github.nafg.scalacoptions.WarningsConfig.{Category, Filter}

object CompilationTests {
ScalacOptions.all("")(
(opts: options.Common) =>
opts.deprecation ++ opts.unchecked ++ opts.feature,
(_: options.V2_13).Xlint("_"),
WarningsConfig(Filter.Category(Category.`lint-byname-implicit`).silent)
)
}

0 comments on commit c0ba29b

Please sign in to comment.