Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin on intellij doesnt work correctly #948

Open
eranmizrahi1 opened this issue Nov 15, 2023 · 0 comments
Open

plugin on intellij doesnt work correctly #948

eranmizrahi1 opened this issue Nov 15, 2023 · 0 comments

Comments

@eranmizrahi1
Copy link

eranmizrahi1 commented Nov 15, 2023

  • Scala version: 2.13.11

  • wartremover version: 3.1.5

  • reproducible test:
    on build.sbt add the following configuration:

  wartremoverErrors ++= List(Wart.Any)
  Compile / compile / wartremoverErrors ++= List(Wart.ThreadSleep)

The expected behavior on both command and intellij:
a class on src/main/scala only with the following code, should failed:
Thread.sleep(1000)
actually, the compiler is failing only on the command line. The wart "Wart.ThreadSleep" is ignored on intellij

This is a major bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant