use-package icon indicating copy to clipboard operation
use-package copied to clipboard

the function ‘flycheck-add-mode’ might not be defined at runtime.

Open zhangjie2012 opened this issue 6 years ago • 1 comments

(use-package flycheck
  :ensure t
  :init
  (setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))

  (setq-default flycheck-disabled-checkers
                (append flycheck-disabled-checkers
                        '(javascript-jshint)))
  (setq flycheck-javascript-eslint-executable "eslint")
  (setq flycheck-python-flake8-executable "flake8")
  (global-flycheck-mode)
  :config
  (flycheck-add-mode 'javascript-eslint 'web-mode)
  )

throw the function ‘flycheck-add-mode’ might not be defined at runtime.,

How to set flycheck-add-mode ?

zhangjie2012 avatar Jun 21 '19 08:06 zhangjie2012

maybe, :functions flycheck-add-mode to suppress the warning.

conao3 avatar Feb 22 '21 16:02 conao3

I believe @conao3 provided a solution, so I'm closing this issue.

skangas avatar Nov 13 '22 20:11 skangas