this post was submitted on 14 Nov 2023
1 points (100.0% liked)

Emacs

311 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

The context here is, I'm working in a company environment that is using https://trunk.io in its dev environment, which is kind of a meta-linter for many languages. It wraps a bunch of backend lint tools and combines their results, and enforces a company wide policy on all of them. They provide integrations for a few IDEs, but nothing specific to emacs yet. What they do provide is an LSP proxy to their tool. I have been looking if there is any support in flymake or flycheck to use a generic LSP server as the checker backend, and I haven't found anything. Does anyone know if this is possible? Or if there's an existing backend that's close enough that could be tweaked to do this? I've attempted to duplicate the trunk configuration using individual flymake backends, and the maintenance is just too much. It would be way easier to just make use of the tool directly.

top 1 comments
sorted by: hot top controversial new old
[–] yyoncho@alien.top 1 points 1 year ago

All lsp clients will do. There is clojure linter that works like that.