SortPluginsRule

class SortPluginsRule @Inject constructor(settings: ModuleCheckSettings) : DocumentedRule<SortPluginsFinding> , SortRule<SortPluginsFinding>

Constructors

Link copied to clipboard
@Inject
fun SortPluginsRule(settings: ModuleCheckSettings)

Functions

Link copied to clipboard
open suspend override fun check(project: McProject): List<SortPluginsFinding>
Link copied to clipboard
open override fun shouldApply(settings: ModuleCheckSettings): Boolean
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
private val comparables: Array<(PluginDeclaration) -> Comparable<*>>
Link copied to clipboard
private val comparator: Comparator<PluginDeclaration>
Link copied to clipboard
open override val description: String
Link copied to clipboard
override val documentationUrl: String

This should correspond to the finding name in snake_case. So a rule with a findingName.id of 'unused-dependency' would have a documentation url of <docs root>/rules/unused_dependency.

Link copied to clipboard
open override val name: FindingName

Sources

Link copied to clipboard