-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sqlfluff
66 lines (50 loc) · 1.43 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
55
56
57
58
59
60
61
62
63
64
65
66
[sqlfluff]
dialect = bigquery
templater = dbt
verbose = 1
exclude_rules = AL07,RF05,L034
ignore_templated_areas = true
encoding = autodetect
processes = 0
sql_file_exts = .sql
runaway_limit = 10
max_line_length = 100
large_file_skip_byte_limit = 50000
[sqlfluff:indentation]
indent_unit = space
tab_space_size = 4
indented_joins = Frue
indented_ctes = False
indented_using_on = True
indented_on_contents = True
template_blocks_indent = True
allow_implicit_indents = True
[sqlfluff:layout:type:comma]
line_position = leading
[sqlfluff:layout:type:select_clause]
line_position = alone:strict
[sqlfluff:layout:type:where_clause]
line_position = alone:strict
[sqlfluff:layout:type:from_clause]
line_position = alone:strict
[sqlfluff:layout:type:join_clause]
line_position = alone:strict
[sqlfluff:layout:type:groupby_clause]
line_position = alone:strict
[sqlfluff:rules:aliasing.forbid]
force_enable = False
[sqlfluff:templater]
unwrap_wrapped_queries = True
[sqlfluff:templater:jinja]
apply_dbt_builtins = True
load_macros_from_path = macros,macros/model_sql_helper
[sqlfluff:rules:capitalisation.identifiers]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.functions]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = lower
[sqlfluff:rules:convention.casting_style]
preferred_type_casting_style = consistent
[sqlfluff:rules:structure.subquery]
forbid_subquery_in = join