Compare commits
No commits in common. "0f1fd7eded0dfa110b58b11e1d0646135fa33a27" and "d6de981fae108c03c638ae58250c66e5f3556cb0" have entirely different histories.
0f1fd7eded
...
d6de981fae
1 changed files with 0 additions and 15 deletions
15
init.lua
15
init.lua
|
|
@ -189,7 +189,6 @@ local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
|
||||||
.. "warning: the option `Z` is unstable %.%#,%W"
|
.. "warning: the option `Z` is unstable %.%#,%W"
|
||||||
.. "warning: %m,%Inote: %m,%C %#--> %f:%l:%c"
|
.. "warning: %m,%Inote: %m,%C %#--> %f:%l:%c"
|
||||||
|
|
||||||
-- clippy --
|
|
||||||
lint.linters.clippy = {
|
lint.linters.clippy = {
|
||||||
cmd = "cargo clippy",
|
cmd = "cargo clippy",
|
||||||
stdin = false,
|
stdin = false,
|
||||||
|
|
@ -201,20 +200,6 @@ lint.linters.clippy = {
|
||||||
parser = require("lint.parser").from_errorformat(clippy_format),
|
parser = require("lint.parser").from_errorformat(clippy_format),
|
||||||
}
|
}
|
||||||
|
|
||||||
-- sqlfluff --
|
|
||||||
lint.linters.sqlfluff.args = {
|
|
||||||
"lint",
|
|
||||||
"--format=json",
|
|
||||||
-- note: users will have to replace the --dialect argument accordingly
|
|
||||||
"--dialect=sqlite",
|
|
||||||
"-",
|
|
||||||
}
|
|
||||||
|
|
||||||
-- yamllint --
|
|
||||||
lint.linters.yamllint.args = {
|
|
||||||
args = { "--format=parsable", "-d relaxed" },
|
|
||||||
}
|
|
||||||
|
|
||||||
linters = {
|
linters = {
|
||||||
bash = { "shellcheck" },
|
bash = { "shellcheck" },
|
||||||
dockerfile = { "hadolint" },
|
dockerfile = { "hadolint" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue