diff options
author | Martin Polden <martin.polden@gmail.com> | 2016-02-26 18:17:14 +0100 |
---|---|---|
committer | Martin Polden <martin.polden@gmail.com> | 2016-02-26 18:17:14 +0100 |
commit | 2aa224c32b68f9fb8d7ef8d22585e083f9772a40 (patch) | |
tree | cad66f581b935e07c5929577ac230ebabfcd3e37 /lisp/init-flycheck.el | |
parent | f8a0600ebafd4dd03db5f7b4e254e30cd0002d27 (diff) |
Add flycheck
Diffstat (limited to 'lisp/init-flycheck.el')
-rw-r--r-- | lisp/init-flycheck.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/init-flycheck.el b/lisp/init-flycheck.el new file mode 100644 index 0000000..e9c4df3 --- /dev/null +++ b/lisp/init-flycheck.el @@ -0,0 +1,11 @@ +(use-package flycheck + :init + ;; disable noisy emacs-lisp checkers + (setq-default flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc)) + + :config + (global-flycheck-mode 1) + ;; use both foodcritic and rubocop checkers for chef cookbooks + (flycheck-add-next-checker 'chef-foodcritic 'ruby-rubocop)) + +(provide 'init-flycheck) |