generated from dpguthrie/snowflake-dbt-demo-project
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.sqlfluff
54 lines (38 loc) · 1.2 KB
/
.sqlfluff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[sqlfluff]
dialect = snowflake
templater = dbt
max_line_length = 80
runaway_limit = 10
[sqlfluff:indentation]
# See https://docs.sqlfluff.com/en/stable/indentation.html
allow_implicit_indents = True
indented_then_contents = False
[sqlfluff:layout:type:common_table_expression]
spacing_within = single
[sqlfluff:layout:type:from_clause]
line_position = leading
[sqlfluff:rules:aliasing.forbid]
force_enable = True
[sqlfluff:rules:ambiguous.column_references]
group_by_and_order_by_style = implicit
[sqlfluff:rules:capitalisation.functions]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.identifiers]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = lower
[sqlfluff:rules:capitalisation.literals]
capitalisation_policy = lower
[sqlfluff:rules:capitalisation.types]
extended_capitalisation_policy = lower
[sqlfluff:rules:layout.operators]
operator_new_lines = after
[sqlfluff:rules:references.consistent]
force_enable = True
[sqlfluff:rules:references.keywords]
unquoted_identifiers_policy = aliases
quoted_identifiers_policy = all
[sqlfluff:rules:structure.subquery]
forbid_subquery_in = both
[sqlfluff:templater:dbt]
project_dir = ./