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 AMCzar
09/02/2019, 9:51 AMgammax
09/02/2019, 9:53 AMThe only way to circumvent this problem I’ve found is to disable the check completely:
gammax
09/02/2019, 9:54 AMNoWildcardImports and WildcardImportgammax
09/02/2019, 9:54 AMNoWildcardImports 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.*Czar
09/02/2019, 9:59 AMWildcardImport in isolationgammax
09/02/2019, 10:00 AMCzar
09/02/2019, 10:01 AMNoWildcardImport effectively tramples WildcardImportCzar
09/02/2019, 10:02 AMNoWildcardImport should be disabled and WildcardImport may then do the checking according to its configurationgammax
09/02/2019, 10:12 AMNoWildcardImport) is not configurable.gammax
09/02/2019, 10:13 AMschalkms
09/02/2019, 7:00 PM