shut up eslint
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user