detekt-intellij-plugin icon indicating copy to clipboard operation
detekt-intellij-plugin copied to clipboard

Pluign seems not to use a specific configuration

Open antimoroma opened this issue 1 year ago • 3 comments

I'm trying the plugin, trying to use a specific configuration , and changing configuration (for example allowedConstructorParameters to 3) to test it.

Configuring the plugin to use this new configuration file seems not to tork on Intellij Community (last edition) or ultimate (2021 edition), it seem that plugin continue to use the default configuration

Any hint or idea? I'm missing something?

antimoroma avatar Oct 06 '23 09:10 antimoroma

Hm, you shouldn't be able to install the plugin on an IntelliJ < 2022.1 or 2022.2? Could you test it with a newer version? Do you have a minimal reproducer project with checked in detekt config?

arturbosch avatar Oct 10 '23 09:10 arturbosch

I have the same thing, I added the configuration file in the plugin settings. And if I disable "Build rules upon the default configuration" it will not report any broken rules on the files (from the configuration file, which is basically the default with minor changes).

If I enable the "Build rules upon.." option again, it reports only the default rules but not the ones in the configuration file.

radekjezdik avatar Oct 17 '23 11:10 radekjezdik

Hm, please provide a minimal reproducer to look at, if you can.

arturbosch avatar Nov 05 '23 16:11 arturbosch