-
Notifications
You must be signed in to change notification settings - Fork 1
/
.sqlfluff
22 lines (17 loc) · 935 Bytes
/
.sqlfluff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://docs.sqlfluff.com/en/stable/rules.html
[sqlfluff]
dialect = postgres
ignore = parsing
rules = core
# Ignoring capitalisation.identifiers because it seems to want to uppercase column names if there are capitalized enums defined before the table (like in V11__Add_Plan_General_Characteristics)
# Ignoring layout.long_lines because we break line-length requirements in a few places with comments
exclude_rules = capitalisation.identifiers, layout.long_lines, layout.spacing
[sqlfluff:rules:capitalisation.keywords]
# https://docs.sqlfluff.com/en/stable/rules.html#rule-capitalisation.keywords
capitalisation_policy = upper
[sqlfluff:rules:capitalisation.literals]
# https://docs.sqlfluff.com/en/stable/rules.html#rule-capitalisation.literals
capitalisation_policy = upper
[sqlfluff:rules:capitalisation.types]
# https://docs.sqlfluff.com/en/stable/rules.html#rule-capitalisation.types
extended_capitalisation_policy = upper