# House sqlfluff config (GAP6, brief §7.2). Read by both the blocking
# convert-tree lint gate (data_dp_ssis2sp/fluff_gate.py) and by `sqlfluff fix`
# / `sqlfluff lint` when run locally or in CI. `sqlfluff fix` is tooling only —
# it is NEVER invoked during convert-tree; the Red Gate formatter stays the
# house formatter on the VM.
[sqlfluff]
dialect = tsql
templater = placeholder

[sqlfluff:indentation]
indent_unit = space
tab_space_size = 4

# Most T-SQL shops upper-case keywords; sqlfluff's default lowered them, so set
# the policy explicitly for deterministic output regardless of input casing.
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = upper

[sqlfluff:rules:capitalisation.identifiers]
extended_capitalisation_policy = lower

# Emitted procs carry real T-SQL @variables, not bound placeholders; the only
# `:name` tokens that could appear (none today) resolve to their own name and
# still parse, so no per-parameter values are pinned here. `{#TicketID}` tokens
# live only inside /* */ header comments and never reach the templater as a
# `:name` placeholder. param_style stays `colon` per brief §7.2.
[sqlfluff:templater:placeholder]
param_style = colon
