detekt / detekt-intellij-plugin

detekt plugin for IntelliJ
https://plugins.jetbrains.com/plugin/10761-detekt
Apache License 2.0
290 stars 39 forks source link

Detekt IDEA plugin started to mark everything as error instead of warning #509

Open Mr3zee opened 3 months ago

Mr3zee commented 3 months ago

Expected Behavior Issues are treated as warnings in the editor, unless otherwise configured in the settings

Observed Behavior All issues are marked as errors in the editor, disregarding the settings

Your Environment Version of detekt IDEA plugin used: 2.4.0 Version of IDEA used: 2023.3.6 Version of detekt used: 1.23.4 Version of detekt Gradle Plugin used: 1.23.4 Version of Gradle used (if applicable): 8.3 Operating System and version: MacOS 14.4 (23E214)

arturbosch commented 3 months ago

Hi, are you saying that in 2.3.0 everything worked as expected as warning and without changing the settings issues are now marked as errors ?

Please check if you have accidentally used the Treat detekt findings as errors setting.

Also with https://github.com/detekt/detekt-intellij-plugin/pull/505 the plugin now respects severity overrides from the yaml config. Do you have any of severity: error options in your config ?