give up on trying to get eslint to work

This commit is contained in:
Andrzej Stepien 2024-03-13 16:03:21 +01:00
parent 629551c65f
commit ca668494cb
1 changed files with 0 additions and 14 deletions

View File

@ -27,20 +27,6 @@ return {
python = { "pylint" },
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 })