Skip to main content

apply_lint_fixes_with_runtime_options

Function apply_lint_fixes_with_runtime_options 

Source
pub fn apply_lint_fixes_with_runtime_options(
    sql: &str,
    dialect: Dialect,
    lint_config: &LintConfig,
    runtime_options: LintFixRuntimeOptions,
) -> Result<LintFixExecution, ParseError>
Expand description

Apply lint fixes using a bounded multi-pass loop with cascading fallback.

Each pass applies safe fixes and re-lints to capture cascading improvements. The loop terminates when no further progress is made, the pass budget is exhausted, or a hard wall-clock timeout is reached.