Disable Flycheck warnings for personal

* Modified the regex so prelude won't load any .el files that start with
  a `.`, spefically for `.dir-locals.el`. This file does not play nice
  with `load`
* Added a `personal/.dir-locals.el` to disable the flychecker
This commit is contained in:
Joe DeVivo 2016-10-22 07:33:48 -07:00 committed by Bozhidar Batsov
parent 7b4fdcaa0d
commit 6d1569289e
2 changed files with 7 additions and 2 deletions

5
personal/.dir-locals.el Normal file
View file

@ -0,0 +1,5 @@
;; This will make sure that nothing in your personal directory will be
;; forced through the emacs-lisp-checkdoc flychecker. That's a great
;; checker for real modules, but these are just config files, and you
;; deserve not to get warnings all the time
((emacs-lisp-mode . ((flycheck-disabled-checkers . (emacs-lisp-checkdoc)))))