I finally switched to #Emacs 29.1 and from lsp-mode to eglot. However I quickly discovered that flycheck doesn't work with eglot, at all.
There is flycheck-eglot (https://github.com/intramurz/flycheck-eglot), but it's not available for me to install. I opened an issue (https://github.com/intramurz/flycheck-eglot/issues/2) as I believe it's an unintended problem with the package requirements.
Anybody else has faced this issue with emacs and flycheck and how did you fix it?