Duplicate diagnostics


Hi guys, I use nvim-lsp with eslint, but I got a duplicate diagnostic (hint and warning). How I can combine them? Thank you

you can type :lua vim.lsp.buf.open_float() to check the diagnostic source these duplicate diagnostics messages came from, then, you can disable one of them accordingly