Skip to content

Commit

Permalink
build: Add default limit placeholder value to sqlfluff config (#1244)
Browse files Browse the repository at this point in the history
Allows sqlfluff to format `LIMIT :limit` statements.
  • Loading branch information
nikclayton authored Jan 30, 2025
1 parent a14c947 commit bbdb20a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .sqlfluff
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ exclude_rules = CP02,AM04,ST10

[sqlfluff:templater:placeholder]
param_style = colon
limit = 1

# Force a line break before FROM.
[sqlfluff:layout:type:from_clause]
Expand Down

0 comments on commit bbdb20a

Please sign in to comment.