resource filtering and scalastyle