Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to specify an alternate scalastyle-config.xml under IntelliJ for test scope?

In build.sbt you can specify an alternate scalastyle config file for test scope using this:

(scalastyleConfig in Test) := baseDirectory.value / "scalastyle-test-config.xml"

This is useful when you want to loosen the checks in Test scope.

Unfortunately, IntelliJ ignores this setting and looks for the file in it's default location.

Is there a way to fix this?

like image 544
sfosdal Avatar asked Feb 01 '26 21:02

sfosdal


1 Answers

This is currently not possible, the locations are hard-coded. I've created an issue for you: https://youtrack.jetbrains.com/issue/SCL-12086

like image 152
Justin Kaeser Avatar answered Feb 03 '26 10:02

Justin Kaeser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!