fix(emacs-lisp): suppress prefix warnings for doom-*

In preparation for v3's API.
This commit is contained in:
Henrik Lissner 2026-03-26 20:50:55 -04:00
parent 02812df398
commit 0365c1a916
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -188,6 +188,16 @@ Use `+emacs-lisp/change-working-buffer' to change this. Only applies to
(remove-hook 'emacs-lisp-mode-hook #'overseer-enable-mode)
(use-package! package-lint
:when (modulep! :checkers syntax)
:defer t
:config
(setq package-lint--sane-prefixes
(concat "\\`\\(?:doom-\\(?:package\\|source\\|module\\)\\)\\|"
(with-memoization (get 'package-lint--sane-prefixes 'initial-value)
package-lint--sane-prefixes))))
(use-package! flycheck-package
:when (modulep! :checkers syntax -flymake)
:after flycheck