NoUnusedCteRule

Reports common table expressions that are not referenced by the main query.

The rule handles explicit WITH name AS (...) clauses and leaves recursive or ambiguous CTE layouts alone until SQLDelight-derived facts are richer.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val defaultEnable: Boolean = true
Link copied to clipboard
open override val defaultSeverity: Severity
Link copied to clipboard
open override val id: RuleId
Link copied to clipboard

Functions

Link copied to clipboard
open fun isApplicable(context: RuleContext): Boolean
Link copied to clipboard
open override fun run(context: RuleContext, reporter: DiagnosticReporter)