-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sqlfluff
More file actions
34 lines (26 loc) · 737 Bytes
/
Copy path.sqlfluff
File metadata and controls
34 lines (26 loc) · 737 Bytes
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
[sqlfluff]
dialect = mysql
verbose = 0
nocolor = False
[sqlfluff:rules]
# Enforce uppercase keywords
keyword_case = upper
# Use leading commas for multiline lists
comma_style = leading
# Indentation and layout rules
indent_unit = space
tab_space_size = 4
# Apply alias naming rules
aliasing = explicit
[sqlfluff:rules:layout.indent]
# Keep indentation consistent for nested blocks and CTEs
indented_joins = True
[sqlfluff:rules:layout.cte_bracket]
# Keep bracket placement predictable
spacing_before = single
[sqlfluff:rules:aliasing.table]
# Enforce explicit aliases for table references
aliasing = explicit
[sqlfluff:rules:aliasing.column]
# Require explicit aliases for columns in select lists when needed
aliasing = explicit