package io.gitlab.arturbosch.detekt.sample.extensions

import io.gitlab.arturbosch.detekt.api.RuleSet
import io.gitlab.arturbosch.detekt.api.RuleSetProvider
import io.gitlab.arturbosch.detekt.sample.extensions.rules.TooManyFunctions
import io.gitlab.arturbosch.detekt.sample.extensions.rules.TooManyFunctionsTwo

class SampleProvider : RuleSetProvider {

    override val ruleSetId = RuleSet.Id("sample")

    override fun instance(): RuleSet = RuleSet(
        ruleSetId,
        listOf(
            ::TooManyFunctions,
            ::TooManyFunctionsTwo
        )
    )
}
