Cli filters by BraisGabin · Pull Request #9200 · detekt/detekt · GitHub
Skip to content

Cli filters#9200

Open
BraisGabin wants to merge 2 commits intomainfrom
cli-filters
Open

Cli filters#9200
BraisGabin wants to merge 2 commits intomainfrom
cli-filters

Conversation

@BraisGabin
Copy link
Copy Markdown
Member

Right now we accept --excludes like this: foo.kt, ,, bar.kt. This PR changes that. Now the excludes and includes can't be empty, blank or contain spaces at the start or end. Before we were just filtering out those cases. With this PR we don't make any magic. If you pass a value like this we fail with a message error.

Related with #1253. This will simplify its implementation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 29, 2026

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants