gammax
09/02/2019, 9:37 AMCzar
09/02/2019, 9:40 AMgammax
09/02/2019, 9:40 AMCzar
09/02/2019, 9:47 AMgammax
09/02/2019, 9:47 AMCzar
09/02/2019, 9:48 AMgammax
09/02/2019, 9:48 AMCzar
09/02/2019, 9:50 AMgammax
09/02/2019, 9:53 AMThe only way to circumvent this problem I’ve found is to disable the check completely:
NoWildcardImports
and WildcardImport
NoWildcardImports
is a style
rule and a wrap of a KtLint rule. Documentation of the rule is here: https://arturbosch.github.io/detekt/formatting.html#nowildcardimportsCzar
09/02/2019, 9:54 AMgammax
09/02/2019, 9:54 AMWildcardImport
is a formatting
rule from Detekt. Documentation is here: https://arturbosch.github.io/detekt/style.html#wildcardimportCzar
09/02/2019, 9:55 AMgammax
09/02/2019, 9:56 AMCzar
09/02/2019, 9:58 AMNoWildcardImports
is not disabled WildcardImport
exclusions are completely ignored by detekt and it is failing NoWildcardImports
check on java.util.*
WildcardImport
in isolationgammax
09/02/2019, 10:00 AMCzar
09/02/2019, 10:01 AMNoWildcardImport
effectively tramples WildcardImport
NoWildcardImport
should be disabled and WildcardImport
may then do the checking according to its configurationgammax
09/02/2019, 10:12 AMNoWildcardImport
) is not configurable.schalkms
09/02/2019, 7:00 PM