diff --git a/init.lua b/init.lua index faaeb94..5f74e33 100644 --- a/init.lua +++ b/init.lua @@ -200,6 +200,14 @@ lint.linters.clippy = { parser = require("lint.parser").from_errorformat(clippy_format), } +lint.linters.sqlfluff.args = { + "lint", + "--format=json", + -- note: users will have to replace the --dialect argument accordingly + "--dialect=sqlite", + "-", +} + linters = { bash = { "shellcheck" }, dockerfile = { "hadolint" },