lint: set sqlfluff dialect
This commit is contained in:
parent
d6de981fae
commit
5630e3909e
1 changed files with 8 additions and 0 deletions
8
init.lua
8
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" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue