Add flymake-clippy config

This commit is contained in:
Evie Litherland-Smith 2024-07-17 06:32:05 +01:00
parent 636ebd2a1c
commit 4d3311251d

View file

@ -998,6 +998,13 @@
:requires flymake
:hook (yaml-ts-mode . flymake-yamllint-setup))
(use-package flymake-clippy
:if (and (executable-find "clippy")
(package-installed-p 'flymake-clippy))
:functions flymake-clippy-setup-backend
:requires flymake
:hook (rust-mode . flymake-clippy-setup-backend))
(use-package flymake-eslint
:if (and (executable-find "eslint")
(package-installed-p 'flymake-eslint))