detekt/detekt
在 GitHub 查看Allow configuring UnnecessaryFullyQualifiedName to ignore certain packages
Open
#9,279 创建于 2026年4月26日
featuregood first issuehelp wanted
描述
Currently, UnnecessaryFullyQualifiedName reports a violation for android.R.id.content, which is correct, because the class name is R, and the FQN is android.R.
Since that pattern (and others) is a common occurrence, it would be nice if we could specify a list of packages that would be excluded from the rule.