Skip to content

Commit

Permalink
Suppress flycheck backend for shellcheck: we have a flymake equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Aug 26, 2023
1 parent ba42e33 commit bc039c5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lisp/init-flymake.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc039c5

Please sign in to comment.