From bc039c55c6b8c0532478a9a7ad0313feff25667a Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Sat, 26 Aug 2023 09:13:57 +0200 Subject: [PATCH] Suppress flycheck backend for shellcheck: we have a flymake equivalent --- lisp/init-flymake.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/init-flymake.el b/lisp/init-flymake.el index 91ab8c053b..1b964947a8 100644 --- a/lisp/init-flymake.el +++ b/lisp/init-flymake.el @@ -8,9 +8,10 @@ (when (maybe-require-package 'flymake-flycheck) ;; Disable flycheck checkers for which we have flymake equivalents (with-eval-after-load 'flycheck - (setq-default flycheck-disabled-checkers - (append (default-value 'flycheck-disabled-checkers) - '(emacs-lisp emacs-lisp-checkdoc emacs-lisp-package)))) + (setq-default + flycheck-disabled-checkers + (append (default-value 'flycheck-disabled-checkers) + '(emacs-lisp emacs-lisp-checkdoc emacs-lisp-package sh-shellcheck)))) (defun sanityinc/enable-flymake-flycheck () (setq-local flymake-diagnostic-functions