Custom Rule Structure
val ISSUE: Issue = Issue.create(
"MissingStyleAttribute",
"style attribute is missing",
"We should use style to style a TextView " +
"in order to provide consistent design",
Category.CORRECTNESS,
5,
Severity.ERROR,
Implementation(
MissingStyleAttributeDetector::class.java,
Scope.RESOURCE_FILE_SCOPE
)
)