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