Created
May 10, 2016 19:28
-
-
Save wngreene/f600b43ad086d964b2d00bc7e5912dc1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Flycheck. | |
(use-package flycheck | |
:ensure t | |
:config (progn (add-hook 'after-init-hook #'global-flycheck-mode) | |
(add-hook 'python-mode-hook (lambda () | |
(flycheck-select-checker 'python-pylint))) | |
(setq-default flycheck-disabled-checkers '(c/c++-clang c/c++-gcc)))) | |
;; Flycheck Google cpplint | |
(use-package flycheck-google-cpplint | |
:ensure t | |
:config (progn (setq flycheck-googlelint-verbose "3") | |
(setq flycheck-c/c++-googlelint-executable "cpplint") | |
;; (setq flycheck-googlelint-root "src") | |
(setq flycheck-googlelint-linelength "80") | |
(flycheck-add-next-checker 'c/c++-cppcheck | |
'(warning . c/c++-googlelint)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment