You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In theory, files could be excluded using following construct: scalastyleSources := scalastyleSources in dao.value .map(PathFinder.apply _) .reduceLeft[PathFinder]((a, b) => a +++ b) .**("*") .filter( ! _.getAbsolutePath.contains("src/main/scala/my/generated/metadata")).get
but - scalastyle seems to take entire parent directory instead of single file passed in.
The text was updated successfully, but these errors were encountered:
Hi!
Good to know it is alive after all those months :-)
I do not remember exactly what the problem is but I think that scalastyle does not work with filenames in scalastyleSources, only directory names. E.g. if you have two .scala files in a directory, you can't ignore one of them using scalastyleSources.
In theory, files could be excluded using following construct:
scalastyleSources := scalastyleSources in dao.value .map(PathFinder.apply _) .reduceLeft[PathFinder]((a, b) => a +++ b) .**("*") .filter( ! _.getAbsolutePath.contains("src/main/scala/my/generated/metadata")).get
but - scalastyle seems to take entire parent directory instead of single file passed in.
The text was updated successfully, but these errors were encountered: