refactor!(emacs-lisp): remove cask support

BREAKING CHANGE: This removes flycheck support for Cask projects,
leaving it to users to install themselves.

Since Cask is not a unanminuous default for elisp projects (there are
many alternatives, including Eask), I don't think should be included by
default in this module.
This commit is contained in:
Henrik Lissner
2025-03-23 21:00:36 -04:00
parent f65fdd598a
commit 869a5e631e
2 changed files with 1 additions and 11 deletions

View File

@ -29,7 +29,6 @@ See `+emacs-lisp-non-package-mode' for details.")
;;; Config
(use-package! elisp-mode
:mode ("\\.Cask\\'" . emacs-lisp-mode)
:interpreter ("doomscript" . emacs-lisp-mode)
:config
(let ((modes '(emacs-lisp-mode lisp-interaction-mode lisp-data-mode)))
@ -194,14 +193,6 @@ See `+emacs-lisp-non-package-mode' for details.")
(remove-hook 'emacs-lisp-mode-hook #'overseer-enable-mode)
(use-package! flycheck-cask
:when (modulep! :checkers syntax -flymake)
:defer t
:init
(add-hook! 'emacs-lisp-mode-hook
(add-hook 'flycheck-mode-hook #'flycheck-cask-setup nil t)))
(use-package! flycheck-package
:when (modulep! :checkers syntax -flymake)
:after flycheck