sbt-scalafix: better support for skip := true
when running semantic rules
#1413
Labels
skip := true
when running semantic rules
#1413
Originally reported on gitter.
When
skip
is set totrue
on the for a given project/configuration, compilation is skipped (through thecompile / skip
lookup), resulting in missing semanticdb files if semantic rules are requested.We should either
skip
when set at the configuration level and disablescalafix
compile / skip
tofalse
whencompile
is triggered byscalafix
Even though (2) might result in scalafix failing because of a compilation error, I think it's better than silently ignoring the project.
skip
semantics are unclear even for sbt built-in keys, so as a user, it's hard to know how plugins would behave.The text was updated successfully, but these errors were encountered: