41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
[sqlfluff]
|
|
templater = jinja
|
|
dialect = postgres
|
|
max_line_length = 100
|
|
# Exclude generated/vendor paths
|
|
# Don't require quoted identifiers; allow type-name identifiers (date, timestamp, etc.)
|
|
exclude_rules = RF04, RF05
|
|
output_line_length = 120
|
|
|
|
[sqlfluff:templater:jinja]
|
|
# Stub dbt macros so sqlfluff can lint without a live dbt project
|
|
[sqlfluff:templater:jinja:macros]
|
|
source = "{% macro source(source_name, table_name) %}{{ source_name }}.{{ table_name }}{% endmacro %}"
|
|
ref = "{% macro ref(model_name) %}{{ model_name }}{% endmacro %}"
|
|
|
|
[sqlfluff:templater:jinja:context]
|
|
schema = raw_funda
|
|
staleness_days = 7
|
|
|
|
[sqlfluff:indentation]
|
|
indent_unit = space
|
|
tab_space_size = 4
|
|
|
|
[sqlfluff:rules:layout.long_lines]
|
|
ignore_comment_lines = true
|
|
|
|
[sqlfluff:rules:capitalisation.keywords]
|
|
capitalisation_policy = lower
|
|
|
|
[sqlfluff:rules:capitalisation.identifiers]
|
|
capitalisation_policy = lower
|
|
|
|
[sqlfluff:rules:capitalisation.functions]
|
|
extended_capitalisation_policy = lower
|
|
|
|
[sqlfluff:rules:capitalisation.literals]
|
|
capitalisation_policy = lower
|
|
|
|
[sqlfluff:rules:capitalisation.types]
|
|
extended_capitalisation_policy = lower
|