From fc625b50d7788b68fdb87daa11e1012cff13db8d Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 20 Nov 2024 23:43:33 -0800 Subject: [PATCH] dev: ignore special chars sqlfluff rule inferred type columns with sqlx require aliases containing spaces and special characters See: https://docs.rs/sqlx/latest/sqlx/macro.query_as.html#column-type-override-infer-from-struct-field --- .sqlfluff | 1 + 1 file changed, 1 insertion(+) diff --git a/.sqlfluff b/.sqlfluff index 055a393..11427d6 100644 --- a/.sqlfluff +++ b/.sqlfluff @@ -1,5 +1,6 @@ [sqlfluff] dialect = sqlite +exclude_rules = references.special_chars [sqlfluff:rules:capitalisation.keywords] # Keywords