1
0
Fork 0

lint: yamllint relaxed config

This commit is contained in:
Felipe 2023-04-17 23:53:58 -04:00
parent 5630e3909e
commit 0f1fd7eded
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -189,6 +189,7 @@ local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
.. "warning: the option `Z` is unstable %.%#,%W"
.. "warning: %m,%Inote: %m,%C %#--> %f:%l:%c"
-- clippy --
lint.linters.clippy = {
cmd = "cargo clippy",
stdin = false,
@ -200,6 +201,7 @@ lint.linters.clippy = {
parser = require("lint.parser").from_errorformat(clippy_format),
}
-- sqlfluff --
lint.linters.sqlfluff.args = {
"lint",
"--format=json",
@ -208,6 +210,11 @@ lint.linters.sqlfluff.args = {
"-",
}
-- yamllint --
lint.linters.yamllint.args = {
args = { "--format=parsable", "-d relaxed" },
}
linters = {
bash = { "shellcheck" },
dockerfile = { "hadolint" },