Skip to content

When multiple configuration files are set for the detekt-intellij-plugin, only the rules enabled in all configuration files are used to analyze the code. #543

@Lovelemon88

Description

@Lovelemon88
Image for example :

in moduleA: configA.yml

ruleset1:
   active: true
   rule1:
   	active: true
   rule2:
   	active: true

in moduleB: configB.yml

ruleset1:
	active: true
	rule1:
		active: true
	rule2:
		active: false		

Both moduleA and moudleB are belong to the project.
Ultimately, the IDE only displays code that violates rule1 within ruleset1, and code that violates rule2 is not shown when multiple configuration files are set. However, if only configA.yml( in moduleA subproject)is configured, violations of both rule1 and rule2 are detected in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions