Package-level declarations

Types

Link copied to clipboard
class FindingAssert(val actual: Finding?) : AbstractAssert<FindingAssert, Finding>
Link copied to clipboard
class FindingsAssert(actual: List<Finding>) : AbstractListAssert<FindingsAssert, List<Finding>, Finding, FindingAssert>
Link copied to clipboard
open class TestConfig(pairs: Pair<String, Any>) : Config

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BaseRule.compileAndLintWithContext(environment: KotlinCoreEnvironment, content: String): List<Finding>
Link copied to clipboard
fun KotlinCoreEnvironment.getContextForPaths(paths: List<KtFile>): BindingContext
Link copied to clipboard
fun BaseRule.lint(content: String): List<Finding>
fun BaseRule.lint(ktFile: KtFile): List<Finding>
Link copied to clipboard
fun BaseRule.lintWithContext(environment: KotlinCoreEnvironment, content: String, vararg additionalContents: String): List<Finding>
Link copied to clipboard
inline fun <T : RuleSetProvider> loadRuleSet(config: Config = Config.empty): RuleSet

Loads a RuleSet instance of given RuleSetProvider.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard