shut up eslint

This commit is contained in:
2026-02-20 14:41:07 +00:00
parent 28b6e89f62
commit cb1f893e3d
2 changed files with 7 additions and 7 deletions

View File

@@ -73,10 +73,10 @@ return {
mode = "location",
},
},
on_attach = function(_, bufnr)
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr,
command = "EslintFixAll",
})
end,
-- on_attach = function(_, bufnr)
-- vim.api.nvim_create_autocmd("BufWritePre", {
-- buffer = bufnr,
-- command = "EslintFixAll",
-- })
-- end,
}

View File

@@ -67,7 +67,7 @@ end, "Organize Imports")
-- end, "Lint file")
map("<leader>esf", function()
vim.cmd("EslintFixAll")
-- vim.cmd("EslintFixAll")
end, "Fix ESLint issues")
-- Window management