flycheck / flycheck-google-cpplint

Google C++ Style checker for Flycheck
GNU General Public License v3.0
42 stars 11 forks source link

README out of date #5

Closed swarnendubiswas closed 8 years ago

swarnendubiswas commented 9 years ago

The following suggestion

(flycheck-add-next-checker 'c/c++-clang 
                                           '(warnings-only . c/c++-googlelint))

on the README does not work with the defined flycheck warning levels. Is it out of date?

Claymore commented 8 years ago

Yes, use this instead:

  (eval-after-load 'flycheck
    '(progn
       (require 'flycheck-google-cpplint)
       (flycheck-add-next-checker 'c/c++-cppcheck
                                  '(warning . c/c++-googlelint))))