   (append flycheck-disabled-checkers
     '(javascript-jshint)))
 (flycheck-add-mode 'javascript-eslint 'web-mode)
+(flycheck-add-mode 'javascript-eslint 'js2-mode)
+(flycheck-add-mode 'javascript-flow 'js2-mode)
 (set-face-attribute 'flycheck-warning nil
                     :foreground "yellow"
                     :background "red")

(require 'tern)
(require 'tern-auto-complete)
(require 'clean-aindent-mode)

;; helm settings (TAB in helm window for actions over selected items,
;; C-SPC to select items)

 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (rainbow-delimiters flycheck-flow clean-aindent-mode tern-auto-complete js2-mode flycheck powerline discover-my-major evil-search-highlight-persist evil-mc evil-org evil-tabs helm evil-visualstar evil-surround evil-numbers evil-nerd-commenter evil-matchit evil-mark-replace evil-leader evil-extra-operator evil-exchange evil-easymotion evil-args color-theme-approximate)))
 '(tern-ac-on-dot t)
 '(tern-ac-sync t))
(custom-set-faces
