flycheck-google-cpplint
flycheck-google-cpplint copied to clipboard
warnings-only is not a valid Flycheck error level
I just installed flycheck-google-cpplint from the melpa packages and I get the following error:
flycheck-validate-next-checker: warnings-only is not a valid Flycheck error level
The important part of my configuration file is the next.
(eval-after-load 'flycheck
'(progn
;; Add Google C++ Style checker.
;; In default, syntax checked by Clang and Cppcheck.
(flycheck-add-next-checker 'c/c++-clang
'(warnings-only . c/c++-googlelint))))
Any ideas?
Confirmed here, and I can't find a description of valid error levels.
@xamvolagis error levels are defined in flymake.el if I understand right. It appears warning is the one you want.
(defcustom flycheck-navigation-minimum-level nil
"The minimum level of errors to navigate.
If set to an error level, only navigate errors whose error level
is at least as severe as this one. If nil, navigate all errors."
:group 'flycheck
:type '(radio (const :tag "All locations" nil)
(const :tag "Informational messages" info)
(const :tag "Warnings" warning)
(const :tag "Errors" error)
(symbol :tag "Custom error level"))
:safe #'flycheck-error-level-p
:package-version '(flycheck . "0.21"))