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

Do not show warning notifications of the same issue type. #486

Open
DenisYelkin opened this issue Aug 9, 2023 · 1 comment
Open

Do not show warning notifications of the same issue type. #486

DenisYelkin opened this issue Aug 9, 2023 · 1 comment

Comments

@DenisYelkin
Copy link

DenisYelkin commented Aug 9, 2023

Every time you comment the code, detekt shows tons of notifications about unused imports. Please show only one warning notification per issue type.
image

@arturbosch
Copy link
Member

arturbosch commented Aug 14, 2023

Hi, have you noticed other findings producing as many warning notifications ?
It seems as the NoUnusedImports rule reports the imports at the file node, hm.

IDEA 2023.2 fixes this issue automatically for me:

Screenshot from 2023-08-14 10-31-45

which version are you using?

Edit: It is a bug from the detekt core side introduced in 1.23.0, see detekt/detekt#6390
Not sure how fast a new detekt version will be published and if we should introduce a workaround in the meantime :)

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

No branches or pull requests

2 participants