[sqlfluff]
dialect = postgres

[sqlfluff:indentation]
indented_joins = True
indented_ctes = True

[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = upper

[sqlfluff:rules:capitalisation.types]
extended_capitalisation_policy = upper

[sqlfluff:rules:ambiguous.column_references]
group_by_and_order_by_style = explicit

[sqlfluff:rules:convention.casting_style]
preferred_type_casting_style = cast

[sqlfluff:rules:convention.not_equal]
preferred_not_equal_style = c_style

[sqlfluff:rules:references.consistent]
single_table_references = consistent

[sqlfluff:rules:layout.select_targets]
wildcard_policy = multiple
