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

Automatically import custom rules like Lint #523

Open
junhaozhou opened this issue Nov 26, 2024 · 1 comment
Open

Automatically import custom rules like Lint #523

junhaozhou opened this issue Nov 26, 2024 · 1 comment

Comments

@junhaozhou
Copy link

For example, if a module has the following dependencies

dependencies {
    detektPlugins(":custom_rules")
}

When checking Kotlin files in this module, can automatically import the rules defined in custom_rules.

@mamupf
Copy link

mamupf commented Dec 2, 2024

Shouldn't the detekt-config.yml file and additional Detekt extension plugins be sourced from the project itself, rather than being configured in Settings > Tools > Detekt?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants