Flycheck seems to enable checkers based on the major mode. Meanwhile,
For example, I've just enabled linting of my
jsx files using the
html file (in
web-mode) flycheck tries to lint that using
Is there any other way to tell flycheck which checker to use other than by the major mode? Is there a way to tell flycheck to enable checkers for a given mode but only if some predicate passes, for example?
There's an answer to this question that recommends completely disabling flycheck depending on the file type, but I don't want to do that since I'd like to lint my other
web-mode files as well.