2022-11-01

Published: Nov 02, 2022Last modified: Apr 05, 2023
Word count: 457

you can auto-ignore clj-kondo/lsp warnings with an lsp code action

No more typing out the metadata ignore blob yourself!

just:

  • Place your cursor on the expression with the warning
  • M-x lsp-execute-code-action
  • Select the suppress one

Badabow!

I have noticed the behavior can be a bit wonky if the line is already preceeded by comments - but it has worked for me in that case as well, so might have been a fluke.

> TODO include before/after codeblocks to show what's happening

> TODO include link to probably clojure lsp feature page