     ;; js3-mode doesn't support jsx
     :modes (js-mode js-jsx-mode js2-mode js2-jsx-mode js3-mode rjsx-mode))
 
-(add-to-list 'flycheck-checkers 'javascript-flow2)
+(add-to-list 'flycheck-checkers 'javascript-flow)
 
 (require 'column-marker)
 (add-hook 'js-mode-hook (lambda () (interactive) (column-marker-1 81)))

  (append flycheck-disabled-checkers
    '(javascript-jshint)))
(add-hook 'javascript-mode-hook 'flycheck-mode)
(with-eval-after-load 'flycheck
    (flycheck-add-mode 'javascript-eslint 'web-mode)
    (flycheck-add-mode 'javascript-eslint 'js2-mode)
    (flycheck-add-mode 'javascript-flow2 'js2-mode)
    (flycheck-add-mode 'typescript 'typescript-mode)
    (flycheck-add-next-checker 'javascript-flow2 'javascript-eslint))
(set-face-attribute 'flycheck-warning nil
                    :foreground "yellow"
                    :background "red")

    (let ((helm-ff-transformer-show-only-basename nil))
    (helm-other-buffer '(helm-source-buffers-list
                         ;; helm-source-elscreen-list
                         helm-source-projectile-files-list
                         ;; helm-source-ctags
                         )
