Skip to content

Which source paths are checked by detekt by default? #3467

Answered by cortinico
kaushalyap asked this question in Q&A
Discussion options

You must be logged in to vote

I am using detekt gradle plugin, I wonder which source paths are checked by detekt by default?

The answer depends on which detekt task you're invoking. I will answer assuming you're invoking the detetk plain task and not providing further configuration. Then the task will check:

  • Inside the src/main/java and src/main/kotlin folders (see here)
  • Both .kt and .kts files (see here)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kaushalyap
Comment options

@cortinico
Comment options

@kaushalyap
Comment options

@cortinico
Comment options

@Marcono1234
Comment options

Answer selected by kaushalyap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants