Skip to content

Commit

Permalink
There is not a good reason to allow Wildcard imports inside the tests…
Browse files Browse the repository at this point in the history
… if you don't want them in your production code
  • Loading branch information
BraisGabin committed Jul 23, 2022
1 parent 855065b commit 35fc178
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion detekt-core/src/main/resources/default-detekt-config.yml
Expand Up @@ -716,6 +716,5 @@ style:
ignoreLateinitVar: false
WildcardImport:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
excludeImports:
- 'java.util.*'
Expand Up @@ -27,7 +27,6 @@ private object TestExclusions : Exclusions() {
override val ruleSets = emptySet<String>()
override val rules = setOf(
"FunctionNaming",
"WildcardImport",
"LateinitUsage",
"StringLiteralDuplication",
"SpreadOperator",
Expand Down

0 comments on commit 35fc178

Please sign in to comment.