Scala

Scala

Made by DeepSource

Consider using * for wildcard imports instead of _ in Scala 3 SC-R1075

Anti-pattern
Major

The underscore token was used for wildcard imports in Scala 2. However, beginning with Scala 3, it is recommended that you use asterisk instead. While the old syntax is still supported, it will be dropped in the future Scala 3 versions.

Bad Practice

import scala.annotation._

Recommended

import scala.annotation.*

Reference