Closed didibus closed 5 years ago
Nevermind, turned out to be because of the way flycheck works. I thought you could specify multiple next-checkers and have them all run, but it does not work like that. Each checker only runs one other when it is done which it picks from its list of next-checkers based on the first one that is available. So if you want to continue a chain to more then one, you need to add the next one to the next of the next. It is a bit complicated, but it works.
I'm extending the support for the Clojure layer for spacemacs so that multiple linters can be configured to run. I am using flycheck's next-checker functionality to do so. The thing is, it seems when clojure-cider-eastwood is configured as the next checker for clj-kondo-clj, that it does not actually run, and so neither does its next-checkers kibit and core.typed.
Flycheck is properly configured, and mentions that all the linters are setup to run:
If I explicitly select clojure-cider-eastwood then it works, but any idea why as a next-checker it wouldn't? I'm guessing maybe something to do with the predicate it uses?