Replace eslint config with biomejs

This commit is contained in:
Simon Lasbrugnas 2025-04-15 16:56:15 +02:00
parent 546ec10a3a
commit 5bce2a44d1
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -1,9 +1,11 @@
return { return {
on_attach = function(_, bufnr) on_attach = function(_, bufnr)
-- Auto format with eslint fix all -- Format document on save
vim.api.nvim_create_autocmd("BufWritePre", { vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr, buffer = bufnr,
command = "EslintFixAll", callback = function()
vim.lsp.buf.format()
end,
}) })
end, end
} }