give up on trying to get eslint to work
This commit is contained in:
parent
629551c65f
commit
ca668494cb
|
@ -27,20 +27,6 @@ return {
|
||||||
python = { "pylint" },
|
python = { "pylint" },
|
||||||
markdown = { "proselint" },
|
markdown = { "proselint" },
|
||||||
}
|
}
|
||||||
--###### ESLINT HACK ######
|
|
||||||
local eslint = lint.linters.eslint_d
|
|
||||||
|
|
||||||
eslint.args = {
|
|
||||||
"--no-warn-ignored", -- <-- this is the key argument
|
|
||||||
"--format",
|
|
||||||
"json",
|
|
||||||
"--stdin",
|
|
||||||
"--stdin-filename",
|
|
||||||
function()
|
|
||||||
return vim.api.nvim_buf_get_name(0)
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
--##### END ESLINT HACK ######
|
|
||||||
|
|
||||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue