-
Notifications
You must be signed in to change notification settings - Fork 11
/
.sqlfluff
33 lines (25 loc) · 929 Bytes
/
.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
# More settings documented at:
# https://docs.sqlfluff.com/en/stable/configuration.html#default-configuration
[sqlfluff]
# Supported dialects https://docs.sqlfluff.com/en/stable/dialects.html
# Or run 'sqlfluff dialects'
dialect = mysql
# Comma separated list of rules to exclude, or None
exclude_rules = L004,L011,L014,L016,L022,L027,L031,L034,L036,L039,L051
# Very large files can make the parser effectively hang.
# This limit skips files over a certain character length
# and warns the user what has happened.
# Set this to 0 to disable.
large_file_skip_char_limit = 1048576
[sqlfluff:rules]
comma_style = leading
max_line_length = 80
[sqlfluff:rules:L052]
# Semi-colon formatting approach
multiline_newline = True
[sqlfluff:indentation]
# See https://docs.sqlfluff.com/en/stable/indentation.html
indented_joins = True
[sqlfluff:rules:L003]
# Disable evaluating indentation on hanging idents
hanging_indents = False