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", mode = "location",
}, },
}, },
on_attach = function(_, bufnr) -- on_attach = function(_, bufnr)
vim.api.nvim_create_autocmd("BufWritePre", { -- vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr, -- buffer = bufnr,
command = "EslintFixAll", -- command = "EslintFixAll",
}) -- })
end, -- end,
} }

View File

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