Skip to content
New issue

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

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

Already on GitHub? # to your account

Make IDEA plugin compatible with baselines (and configurations) of multi module projects #524

Open
pschyma opened this issue Nov 19, 2024 · 0 comments
Labels
feature New feature or request

Comments

@pschyma
Copy link

pschyma commented Nov 19, 2024

Expected Behavior

The IDEA plugin allows to configure - maybe even detect automatically by convention - baseline files for each module individually to match the behavior of the baseline create task that does not support merged findings (detekt/detekt#5712 (comment)).

Current Behavior

It is possible to configure one merged baseline file in the IDEA plugin that can be updated from findings via quick actions from any module in the project (updating <ManuallySuppressedIssues/>), but when the detektBaseline is run on a multi module project where each module is configured to match the configuration options of the IDEA plugin the last module wins and we end with an empty <CurrentIssues /> block.

Running then detekt in the project leads to many findings across the different modules.

Context

We are refactoring a project into different modules - including moving and renaming of classes - and manually suppressing each issue while doing so is not really feasible and rather counterintuitive.

I'd also prefer to have each module to have its own configuration files as it's easier to maintain.

@pschyma pschyma added the feature New feature or request label Nov 19, 2024
@cortinico cortinico transferred this issue from detekt/detekt Dec 7, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant