-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy path.sqlfluff
48 lines (32 loc) · 1.05 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
[sqlfluff]
dialect = postgres
encoding = utf-8
max_line_length = 100
large_file_skip_byte_limit = 100000
[sqlfluff:indentation]
indented_ctes = True
indented_on_contents = False
allow_implicit_indents = True
[sqlfluff:rules]
single_table_references = qualified
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = upper
[sqlfluff:rules:capitalisation.identifiers]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.functions]
extended_capitalisation_policy = lower
[sqlfluff:rules:capitalisation.literals]
capitalisation_policy = upper
[sqlfluff:rules:capitalisation.types]
extended_capitalisation_policy = upper
[sqlfluff:rules:convention.count_rows]
prefer_count_1 = True
[sqlfluff:rules:ambiguous.column_references]
# GROUP BY/ORDER BY column references
group_by_and_order_by_style = explicit
[sqlfluff:rules:convention.not_equal]
# Consistent usage of preferred "not equal to" comparison
preferred_not_equal_style = c_style
[sqlfluff:rules:convention.casting_style]
# SQL type casting
preferred_type_casting_style = shorthand