fix scalastyle and newFilesOnly